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: 16.0.0
public PdfAttachment CreateAttachmentFromFile(
PdfPage page,
RectangleFloat iconBounds,
PdfAttachIconType iconType,
string file
)
Public Function CreateAttachmentFromFile (
page As PdfPage,
iconBounds As RectangleFloat,
iconType As PdfAttachIconType,
file As String
) As PdfAttachment
public:
PdfAttachment^ CreateAttachmentFromFile(
PdfPage^ page,
RectangleFloat^ iconBounds,
PdfAttachIconType iconType,
String^ file
)
member CreateAttachmentFromFile :
page : PdfPage *
iconBounds : RectangleFloat *
iconType : PdfAttachIconType *
file : string -> PdfAttachment
- 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