PdfDocumentCreateAttachmentFromFile(PdfPage, RectangleF, 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: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
public PdfAttachment CreateAttachmentFromFile(
PdfPage page,
RectangleF iconBounds,
PdfAttachIconType iconType,
string file
)
- page PdfPage
- The PDF page where to create the attachment icon
- iconBounds RectangleF
- 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