PDFView4NET WinForms Edition
GetPageAtPoint(Point) Method




O2S.Components.PDFView4NET Namespace > PDFPageView Class : GetPageAtPoint(Point) Method
The point in control coordinates.
Gets the page located at the specified point.
Syntax
'Declaration
 
Public Function GetPageAtPoint( _
   ByVal pt As Point _
) As Integer
'Usage
 
Dim instance As PDFPageView
Dim pt As Point
Dim value As Integer
 
value = instance.GetPageAtPoint(pt)
public int GetPageAtPoint( 
   Point pt
)
public: int GetPageAtPoint( 
   Point pt
) 
public:
int GetPageAtPoint( 
   Point pt
) 

Parameters

pt
The point in control coordinates.

Return Value

The number of the page that is located at the specified point, otherwise -1.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPageView Class
PDFPageView Members