PdfLinkAnnotationFromUrl Method

Creates a hyperlink that opens an external URL when activated. Produces a URI action (always allowed in PDF/A)

Definition

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

Parameters

url  String
The URL to open
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