PDFView4NET WinForms Edition
EnsurePageVisible(Int32,PDFPoint) Method




O2S.Components.PDFView4NET Namespace > PDFPageView Class > EnsurePageVisible Method : EnsurePageVisible(Int32,PDFPoint) Method
The page to display.
The PDF point on the page that must be made visible.
Displays the specified page at the specified location.
Syntax
'Declaration
 
Public Overloads Sub EnsurePageVisible( _
   ByVal pageNumber As Integer, _
   ByVal visiblePDFPoint As PDFPoint _
) 
'Usage
 
Dim instance As PDFPageView
Dim pageNumber As Integer
Dim visiblePDFPoint As PDFPoint
 
instance.EnsurePageVisible(pageNumber, visiblePDFPoint)
public void EnsurePageVisible( 
   int pageNumber,
   PDFPoint visiblePDFPoint
)
public: void EnsurePageVisible( 
   int pageNumber,
   PDFPoint* visiblePDFPoint
) 
public:
void EnsurePageVisible( 
   int pageNumber,
   PDFPoint^ visiblePDFPoint
) 

Parameters

pageNumber
The page to display.
visiblePDFPoint
The PDF point on the page that must be made visible.
Exceptions
ExceptionDescription
Thrown if pageNumber is less than 0 or greater than or equal to the number of pages in the document.
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