PdfFileAttachmentAnnotationFromBytes Method
Creates an attachment annotation from a byte array. The file
content is 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: 20.10.0
public static PdfFileAttachmentAnnotation FromBytes(
byte[] data,
string fileName,
int pageNumber,
int x,
int y
)
- data Byte
- The file content
- fileName String
- The file name shown in the Attachments panel
- pageNumber Int32
- The 1-based page number where the icon is placed
- x Int32
- The icon X coordinate on the page
- y Int32
- The icon Y coordinate on the page
PdfFileAttachmentAnnotationA new attachment annotation instance