PDFView4NET WPF Edition
PageNumber Property (PDFPageView)




O2S.Components.PDFView4NET.WPF Namespace > PDFPageView Class : PageNumber Property
Gets or sets the page displayed in the control.
Syntax
'Declaration
 
Public Property PageNumber As Integer
'Usage
 
Dim instance As PDFPageView
Dim value As Integer
 
instance.PageNumber = value
 
value = instance.PageNumber
public int PageNumber {get; set;}
public: __property int get_PageNumber();
public: __property void set_PageNumber( 
   int value
);
public:
property int PageNumber {
   int get();
   void set (    int value);
}

Property Value

The number of the page displayed in the control.
Exceptions
ExceptionDescription
Thrown if value is less than 0 or greater than or equal to the number of pages in the document.
Remarks
The page number starts at 0 for first page. If there is no PDF file loaded in the control, the value is ignored.
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