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: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax
public PdfAttachment CreateAttachmentFromData( PdfPage page, RectangleFloat iconBounds, PdfAttachIconType iconType, byte[] data, string name )
Parameters
- page
- Type: HiQPdfClientPdfPage
The PDF page where to create the attachment icon - iconBounds
- Type: HiQPdfClientRectangleFloat
The bounding rectangle of the attachment icon - iconType
- Type: HiQPdfClientPdfAttachIconType
The attachment icon type - data
- Type: SystemByte
The data to embed in PDF - name
- Type: SystemString
The name of the attachment
Return Value
Type: PdfAttachmentThe PDF attachment that can be further customized
See Also