PdfDocumentCreateAttachmentFromData(PdfPage, RectangleFloat, PdfAttachIconType, Byte, String, String) Method
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: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfAttachment CreateAttachmentFromData(
PdfPage page,
RectangleFloat iconBounds,
PdfAttachIconType iconType,
byte[] data,
string name,
string description
)
Public Function CreateAttachmentFromData (
page As PdfPage,
iconBounds As RectangleFloat,
iconType As PdfAttachIconType,
data As Byte(),
name As String,
description As String
) As PdfAttachment
public:
PdfAttachment^ CreateAttachmentFromData(
PdfPage^ page,
RectangleFloat^ iconBounds,
PdfAttachIconType iconType,
array<unsigned char>^ data,
String^ name,
String^ description
)
member CreateAttachmentFromData :
page : PdfPage *
iconBounds : RectangleFloat *
iconType : PdfAttachIconType *
data : byte[] *
name : string *
description : 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
- data Byte
- The data to embed in PDF
- name String
- The name of the attachment
- description String
- Descriptive text associated with the attachment
PdfAttachmentThe PDF attachment that can be further customized