Click or drag to resize

PDFViewCtrlGetPageNumberFromScreenPoint Method

Gets the number of the page located under the given screen coordinate. A positive number indicates a valid page, whereas a number less than 1 indicates no page was found.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public int GetPageNumberFromScreenPoint(
	double x,
	double y
)

Parameters

x
Type: SystemDouble
x coordinate of screen point.
y
Type: SystemDouble
y coordinate of screen point.

Return Value

Type: Int32
The page number under the provided screen point.
See Also