←Select platform

PageNumber Property

Summary
Number of this PDF page.
Syntax
C#
VB
C++
Java
public int PageNumber { get; set; } 
Public Property PageNumber As Integer 
public int getPageNumber(); 
public void setPageNumber( 
   int intValue 
); 
public: 
property int PageNumber { 
   int get(); 
   void set (    int ); 
} 

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

Help Version 21.0.2021.7.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.