Leadtools.Pdf Namespace > PDFFilePage Structure : PageNumber Property |
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);
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.
For an example, refer to PDFFile.Pages.
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