PDFView4NET WPF Edition
EnsurePageVisible(Int32) Method




O2S.Components.PDFView4NET.WPF Namespace > PDFPageView Class > EnsurePageVisible Method : EnsurePageVisible(Int32) Method
The page to display.
Displays the specified page.
Syntax
'Declaration
 
Public Overloads Sub EnsurePageVisible( _
   ByVal pageNumber As Integer _
) 
'Usage
 
Dim instance As PDFPageView
Dim pageNumber As Integer
 
instance.EnsurePageVisible(pageNumber)
public void EnsurePageVisible( 
   int pageNumber
)
public: void EnsurePageVisible( 
   int pageNumber
) 
public:
void EnsurePageVisible( 
   int pageNumber
) 

Parameters

pageNumber
The page to display.
Exceptions
ExceptionDescription
Thrown if pageNumber is less than 0 or greater than or equal to the number of pages in the document.
Remarks
The top margin of the page is displayed at the top of the viewer control, if applicable.
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