PdfFileAttachmentAnnotationFromExternalPath Method

Creates an attachment annotation that references an external file by path. The file is NOT embedded; the reference depends on the PDF reader being able to access the same path

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public static PdfFileAttachmentAnnotation FromExternalPath(
	string filePath,
	int pageNumber,
	int x,
	int y
)

Parameters

filePath  String
The path to the external file
pageNumber  Int32
The 1-based page number where the icon is placed
x  Int32
The icon X coordinate on the page
y  Int32
The icon Y coordinate on the page

Return Value

PdfFileAttachmentAnnotation
A new attachment annotation instance

See Also