PdfFileAttachmentFromFile Method
Creates an attachment from a file on disk. The file is read and
its content is embedded in the PDF. The file name shown in the
Attachments panel is taken from the path
Namespace: HiQPdf.NextAssembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
public static PdfFileAttachment FromFile(
string filePath
)
- filePath String
- The path to the file
PdfFileAttachmentA new attachment instance