Click or drag to resize

PdfWebLinkCollectionGetWebLinkAtPoint(Single, Single) Method

Find a web link at specified point on a document page

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public PdfWebLink GetWebLinkAtPoint(
	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

PdfWebLink
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