PDFView4NET WPF Edition
ConvertScreenPointToPDFPoint(Point) Method




O2S.Components.PDFView4NET.WPF Namespace > PDFPageView Class > ConvertScreenPointToPDFPoint Method : ConvertScreenPointToPDFPoint(Point) Method
The point on the screen to convert.
Converts a point on the screen to a document point.
Syntax
'Declaration
 
Public Overloads Function ConvertScreenPointToPDFPoint( _
   ByVal screenPoint As Point _
) As PDFPoint
'Usage
 
Dim instance As PDFPageView
Dim screenPoint As Point
Dim value As PDFPoint
 
value = instance.ConvertScreenPointToPDFPoint(screenPoint)
public PDFPoint ConvertScreenPointToPDFPoint( 
   Point screenPoint
)
public: PDFPoint* ConvertScreenPointToPDFPoint( 
   Point screenPoint
) 
public:
PDFPoint^ ConvertScreenPointToPDFPoint( 
   Point screenPoint
) 

Parameters

screenPoint
The point on the screen to convert.

Return Value

The converted point in default PDF coordinates.
Remarks
This method converts a screen point from pixels to PDF points. The screen point is relative to control's display area. The converted point is relative to PDF's default coordinate system, which has the origin in the lower left corner of the page.
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
Overload List