PDFView4NET WinForms Edition
PageCount Property (PDFDocument)




O2S.Components.PDFView4NET Namespace > PDFDocument Class : PageCount Property
Gets the number of pages in the document.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
Public ReadOnly Property PageCount As Integer
'Usage
 
Dim instance As PDFDocument
Dim value As Integer
 
value = instance.PageCount
[Browsable(false)]
public int PageCount {get;}
[Browsable(false)]
public: __property int get_PageCount();
[Browsable(false)]
public:
property int PageCount {
   int get();
}

Property Value

The number of pages in the document, -1 if there is no file loaded.
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

PDFDocument Class
PDFDocument Members