Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

PageNumber Property (DocumentPage)






The current number of this page in the document.
Syntax
public int PageNumber {get;}
'Declaration
 
Public ReadOnly Property PageNumber As Integer
'Usage
 
Dim instance As DocumentPage
Dim value As Integer
 
value = instance.PageNumber
public int getPageNumber()
            
public:
property int PageNumber {
   int get();
}

Property Value

The 1-based number of this DocumentPage in the document.
Remarks

This value is the index of this page in DocumentPages plus 1. It corresponds to the current page number in the document.

OriginalPageNumber is the number of this DocumentPage in the original document file. When the document is loaded, OriginalPageNumber and PageNumber will contain the same value. If the user modifies the pages of the document by adding, removing or replacing pages, then the two values will differ. OriginalPageNumber will never change and will still holds the value in the original document while PageNumber will return the current updated number of the page in the document.

When a page is added to the document by the user, the value of OriginalPageNumber will be -1 since it does not correspond to an item in the original document.

Refer to Loading Using LEADTOOLS Documents Library for more information.

Example

For an example, refer to DocumentPage.

Requirements

Target Platforms

See Also

Reference

DocumentPage Class
DocumentPage Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features