Attaches the given file to the PDF document and creates an icon for the 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 CreateAttachmentFromFile( PdfPage page, RectangleFloat iconBounds, PdfAttachIconType iconType, string file )
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 - file
- Type: SystemString
The full path of the file to attach
Return Value
Type: PdfAttachment>The PDF attachment that can be further customized
See Also