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

PageNumber Property (PDFFilePage)






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

Property Value

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

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

Example

For an example, refer to PDFFile.Pages.

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

PDFFilePage Structure
PDFFilePage Members

 

 


Products | Support | Contact Us | Copyright Notices

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