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
)
Public Function GetPageNumberFromScreenPoint (
x As Double,
y As Double
) As Integer
public:
virtual int GetPageNumberFromScreenPoint(
[InAttribute] double x,
[InAttribute] double y
) sealed
function GetPageNumberFromScreenPoint(x, y);
Parameters
- x
- Type: SystemDouble
x coordinate of screen point.
- y
- Type: SystemDouble
y coordinate of screen point.
Return Value
Type:
Int32The page number under the provided screen point.
See Also