PdfFileAttachmentFromBytes Method

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

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 14.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