PDFView4NET WinForms Edition
ConvertPDFRectangleToScreenRectangle(PDFRectangle) Method




O2S.Components.PDFView4NET Namespace > PDFPageView Class > ConvertPDFRectangleToScreenRectangle Method : ConvertPDFRectangleToScreenRectangle(PDFRectangle) Method
The rectangle on the PDF page to convert.
Converts a rectangle on the PDF page to a rectangle on the screen.
Syntax
'Declaration
 
Public Overloads Function ConvertPDFRectangleToScreenRectangle( _
   ByVal pdfRectangle As PDFRectangle _
) As Rectangle
'Usage
 
Dim instance As PDFPageView
Dim pdfRectangle As PDFRectangle
Dim value As Rectangle
 
value = instance.ConvertPDFRectangleToScreenRectangle(pdfRectangle)
public Rectangle ConvertPDFRectangleToScreenRectangle( 
   PDFRectangle pdfRectangle
)
public: Rectangle ConvertPDFRectangleToScreenRectangle( 
   PDFRectangle* pdfRectangle
) 
public:
Rectangle ConvertPDFRectangleToScreenRectangle( 
   PDFRectangle^ pdfRectangle
) 

Parameters

pdfRectangle
The rectangle on the PDF page to convert.

Return Value

The converted rectangle in screen coordinates.
Remarks
This method converts a PDF point from points to screen pixels. The source rectangle is relative to PDF's default coordinate system, which has the origin in the lower left corner of the page. The screen rectangle 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