PdfFileAttachmentFromExternalPath Method

Creates an attachment that references an external file by path. The file is not embedded and the reference depends on the PDF reader being able to access the same path. Use FromFile(String) for portable PDFs

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public static PdfFileAttachment FromExternalPath(
	string filePath
)

Parameters

filePath  String
The path to the external file

Return Value

PdfFileAttachment
A new attachment instance

See Also