PDFView4NET WinForms Edition
ConvertPDFPointToScreenPoint(Int32,PDFPoint) Method




O2S.Components.PDFView4NET Namespace > PDFPageView Class > ConvertPDFPointToScreenPoint Method : ConvertPDFPointToScreenPoint(Int32,PDFPoint) Method
The number of the page to which the PDF point is relative.
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
)
public: Point ConvertPDFPointToScreenPoint( 
   int pageNumber,
   PDFPoint* 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 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