PdfDocumentCreateAttachmentFromFile(PdfPage, RectangleFloat, PdfAttachIconType, String) Method
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: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 18.0.0
public PdfAttachment CreateAttachmentFromFile(
PdfPage page,
RectangleFloat iconBounds,
PdfAttachIconType iconType,
string file
)
- 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
- file String
- The full path of the file to attach
PdfAttachment>The PDF attachment that can be further customized