PDFView4NET WinForms Edition


The point on the screen to convert.
ConvertScreenPointToPDFPoint(Point) Method
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
)

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

See Also