PdfFileAttachmentFromBytes Method

Creates an attachment from a byte array. The file content is embedded in the PDF

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.10.0
C#
public static PdfFileAttachment FromBytes(
	byte[] data,
	string fileName
)

Parameters

data  Byte
The file content
fileName  String
The file name shown in the Attachments panel

Return Value

PdfFileAttachment
A new attachment instance

See Also