Leadtools.Forms.DocumentReaders Namespace > DocumentReaderPage Class : PageNumber Property |
public int PageNumber {get;}
'Declaration Public ReadOnly Property PageNumber As Integer
'Usage Dim instance As DocumentReaderPage Dim value As Integer value = instance.PageNumber
Each item in the Pages collection corresponds to a page in the document. 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 DocumentReaderPage class contains the PageNumber property that specifies the number of the page, this information is for convenience only. When a new document is loaded, the DocumentReader will always populate the collection in the correct order from the first page to the last page.
For an example, refer to DocumentReaderPage