PdfFileAttachmentFromBytes Method
Creates an attachment from a byte array. The file content is
embedded in the PDF
Namespace: HiQPdf.NextAssembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
public static PdfFileAttachment FromBytes(
byte[] data,
string fileName
)
- data Byte
- The file content
- fileName String
- The file name shown in the Attachments panel
PdfFileAttachmentA new attachment instance