PdfLinkAnnotationToPageLocation Method

Creates a hyperlink that jumps to a specific location on another page within the same document. Produces a GoTo action with an explicit destination (Xyz / FitH / FitV / FitR) controlled by the supplied PdfLinkPageLocation

Definition

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

Parameters

targetPageNumber  Int32
The 1-based page number to jump to
location  PdfLinkPageLocation
The destination fit mode and coordinates on the target page
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