inputDocumentLastPageNumber Property


Number of the last page to be converted from the input document


JavaScript Syntax
Object.defineProperty(DocumentConverterJobData.prototype, 'inputDocumentLastPageNumber', 
	get: function(), 
	set: function(value) 
TypeScript Syntax
inputDocumentLastPageNumber: number; 

Property Value

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.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly