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

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public PdfAttachment CreateAttachmentFromData(
	PdfPage page,
	RectangleFloat iconBounds,
	PdfAttachIconType iconType,
	byte[] data,
	string name,
	string description
)

Parameters

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

Return Value

PdfAttachment
The PDF attachment that can be further customized

See Also