Number of the first page to be loaded from the document.
Object.defineProperty(LoadDocumentOptions.prototype, 'firstPageNumber',
get: function(),
set: function(value)
)
firstPageNumber: number;
The 1-based number of the first page to be converted from the input document. Default value is 0.
The factory will automatically uses 1 for FirstPageNumber and -1 (last page) for LastPageNumber if the values are left as the default of 0 or set to -1.
Use FirstPageNumber and LastPageNumber to load a document containing a desired subset of the pages found in the original file. After loading is successful, the document is treated as if contains only the specified number of pages when it is viewed or when it is converted.
When loading succeeds, the document will store the page numbers set in read-only properties OriginalFirstPageNumber and OriginalLastPageNumber (and the original number of pages in OriginalPageCount) accessed through Document.Pages.
For example, if the factory is loading a PDF document with 10 pages, and FirstPageNumber and LastPageNumber was set to 2 and 5 respectively, then the result document will contain 4 pages (pages 2 through 5) and Pages will have OriginalFirstPageNumber set to 2, OriginalLastPageNumber set to 5 and OriginalPageCount set to 10.
For an example, refer to DocumentFactory.LoadFromUri.
Products |
Support |
Feedback: firstPageNumber Property (LoadDocumentOptions) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.