←Select platform

PageNumber Property

Summary

Gets the number of this PDF page.

Syntax
C#
VB
C++
Java
public int PageNumber { get; } 
Public ReadOnly Property PageNumber As Integer 
public int getPageNumber() 
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

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

Leadtools.Pdf Assembly