Click or drag to resize

PdfLinkCollectionsGetLinkAtPoint(Single, Single) Method

Find a link at specified point on a document page

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.111.2704
Syntax
public PdfLink GetLinkAtPoint(
	float x,
	float y
)

Parameters

x  Single
The x coordinate of the point, specified in page coordinate system
y  Single
The y coordinate of the point, specified in page coordinate system

Return Value

PdfLink
Instance of PdfLink class that represent the found link. Null if there’s no link at that point.
Remarks
The point coordinate are specified in page coordinate system. You can convert coordinate from screen system to page system using DeviceToPage(Int32, Int32, Int32, Int32, PageRotate, Int32, Int32) function.
See Also