Click or drag to resize

PdfiumFPDFLink_GetLinkAtPoint Method

Find a link at specified point on a document page

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.111.2704
Syntax
public static IntPtr FPDFLink_GetLinkAtPoint(
	IntPtr page,
	double x,
	double y
)

Parameters

page  IntPtr
Handle to the document page. Returned by FPDF_LoadPage(IntPtr, Int32) function
x  Double
The x coordinate of the point, specified in page coordinate system
y  Double
The y coordinate of the point, specified in page coordinate system

Return Value

IntPtr
Handle to the link. IntPtr.Zero 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 FPDF_DeviceToPage(IntPtr, Int32, Int32, Int32, Int32, PageRotate, Int32, Int32, Double, Double) function
See Also