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: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.10.0
public static PdfFileAttachment FromFile(
string filePath
)
- filePath String
- The path to the file
PdfFileAttachmentA new attachment instance