PdfTextAnnotationCreate Method

Creates a sticky-note text annotation. The note text is required and is used both as the popup content and as the accessibility description for screen readers

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public static PdfTextAnnotation Create(
	string contents,
	int pageNumber,
	int x,
	int y
)

Parameters

contents  String
The note text shown in the popup and used as the accessibility description
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

PdfTextAnnotation
A new text annotation instance

See Also