PDFView4NET WinForms Edition


O2S.Components.PDFView4NET Namespace > PDFPageView Class > ConvertPDFPointToScreenPoint Method : ConvertPDFPointToScreenPoint(Int32,PDFPoint) Method
The number of the page to which the PDF point is relative.
ConvertPDFPointToScreenPoint(Int32,PDFPoint) Method
Converts a point in the document to a point on the screen.
Syntax
'Declaration
 
Public Overloads Function ConvertPDFPointToScreenPoint( _
   ByVal pageNumber As Integer, _
   ByVal pdfPoint As PDFPoint _
) As Point
'Usage
 
Dim instance As PDFPageView
Dim pageNumber As Integer
Dim pdfPoint As PDFPoint
Dim value As Point
 
value = instance.ConvertPDFPointToScreenPoint(pageNumber, pdfPoint)
public Point ConvertPDFPointToScreenPoint( 
   int pageNumber,
   PDFPoint pdfPoint
)

Parameters

pageNumber
The number of the page to which the PDF point is relative.
pdfPoint

Return Value

The converted point in screen coordinates.
Remarks
This method converts a document point from points to screen pixels. The source point is relative to PDF's default coordinate system, which has the origin in the lower left corner of the page. The screen point is relative to control's display area.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also