Leadtools.Documents Namespace > DocumentConverterJobData Object : InputDocumentLastPageNumber Property |
get_inputDocumentLastPageNumber();
set_inputDocumentLastPageNumber(value);
Object.defineProperty('inputDocumentLastPageNumber');
Type | Description |
---|---|
int | The 1-based number of the last page to be converted from the input document. A value of -1 means to use the last page in the document. Default value is 0. |
The converter will automatically uses 1 for InputDocumentFirstPageNumber and -1 (last page) in InputDocumentLastPageNumber if the values are left as the default of 0.
You can use InputDocumentFirstPageNumber and InputDocumentLastPageNumber to recognize only a certain range of pages in the input document file.
If InputDocumentLastPageNumber is -1, then the converter will automatically obtain the correct value of the last page number from the input document.
For an example, refer to Convert.