PDFView4NET WinForms Edition
ConvertScreenPointToDisplayPoint Method




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

Parameters

screenPoint
The point on the screen to convert.

Return Value

The converted point in display coordinate system.
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 top left corner of the visible 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