PDFView4NET WinForms Edition


O2S.Components.PDFView4NET Namespace > PDFPageView Class : ConvertScreenPointToDisplayPoint Method
The point on the screen to convert.
ConvertScreenPointToDisplayPoint Method
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
)

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 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also