PdfDocumentCreateAttachmentFromData(PdfPage, RectangleFloat, PdfAttachIconType, Byte, String, String) Method
Creates an attachment in PDF document from the given data and an icon for attachment in the given rectangle in the given PDF page
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 18.0.0
public PdfAttachment CreateAttachmentFromData(
PdfPage page,
RectangleFloat iconBounds,
PdfAttachIconType iconType,
byte[] data,
string name,
string description
)
- page PdfPage
- The PDF page where to create the attachment icon
- iconBounds RectangleFloat
- The bounding rectangle of the attachment icon
- iconType PdfAttachIconType
- The attachment icon type
- data Byte
- The data to embed in PDF
- name String
- The name of the attachment
- description String
- Descriptive text associated with the attachment
PdfAttachmentThe PDF attachment that can be further customized