LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

PageNumber Property (PDFDocumentPage)






Gets the number of this PDF page.
Syntax
public int PageNumber {get;}
'Declaration
 
Public ReadOnly Property PageNumber As Integer
'Usage
 
Dim instance As PDFDocumentPage
Dim value As Integer
 
value = instance.PageNumber
public int PageNumber {get;}
 get_PageNumber(); 
public:
property int PageNumber {
   int get();
}

Property Value

A System.Int32 that specifies the number of this page. The default value is 0.
Remarks

Each item in the Pages collection corresponds to a page in the PDF file. So the item at index 0 contains the properties of page 1, the item at index 1 contains the properties of page 2 and so on. Even though the PDFDocumentPage structure contains the PageNumber property that specifies the number of the page, this information is for convenience only, the PDFDocument constructor will always populate the collection in the correct order from the first page to the last page.

Example

For an example, refer to PDFDocumentPage

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

PDFDocumentPage Class
PDFDocumentPage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.