PdfFileAttachmentAnnotationFromFile Method
Creates an attachment annotation from a file on disk. The file
is read, embedded in the PDF, and an icon is placed on the
specified page
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
public static PdfFileAttachmentAnnotation FromFile(
string filePath,
int pageNumber,
float x,
float y
)
- filePath String
- The path to the file
- pageNumber Int32
- The 1-based page number where the icon is placed
- x Single
- The icon X coordinate on the page
- y Single
- The icon Y coordinate on the page
PdfFileAttachmentAnnotationA new attachment annotation instance