PdfLinkAnnotationToPage Method

Creates a hyperlink that jumps to another page within the same document, fitting the whole page in the viewport. Produces a GoTo action with a /Fit destination (allowed in every PDF/A)

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public static PdfLinkAnnotation ToPage(
	int targetPageNumber,
	int pageNumber,
	float x,
	float y,
	float width,
	float height
)

Parameters

targetPageNumber  Int32
The 1-based page number to jump to
pageNumber  Int32
The 1-based page number where the link is placed
x  Single
The link rectangle X coordinate on the page
y  Single
The link rectangle Y coordinate on the page
width  Single
The link rectangle width
height  Single
The link rectangle height

Return Value

PdfLinkAnnotation
A new link annotation instance

See Also