PDFView4NET WinForms Edition
ZoomToPDFRectangle Method




O2S.Components.PDFView4NET Namespace > PDFPageView Class : ZoomToPDFRectangle Method
Page number to zoom.
Rectangle on the page, in PDF coordinates, to zoom to.
Zooms the page to best fit the specified rectangle.
Syntax
'Declaration
 
Public Sub ZoomToPDFRectangle( _
   ByVal pageNumber As Integer, _
   ByVal rectangle As PDFRectangle _
) 
'Usage
 
Dim instance As PDFPageView
Dim pageNumber As Integer
Dim rectangle As PDFRectangle
 
instance.ZoomToPDFRectangle(pageNumber, rectangle)
public void ZoomToPDFRectangle( 
   int pageNumber,
   PDFRectangle rectangle
)
public: void ZoomToPDFRectangle( 
   int pageNumber,
   PDFRectangle* rectangle
) 
public:
void ZoomToPDFRectangle( 
   int pageNumber,
   PDFRectangle^ rectangle
) 

Parameters

pageNumber
Page number to zoom.
rectangle
Rectangle on the page, in PDF coordinates, to zoom to.
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