inputDocumentLastPageNumber Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentConverterJobData.prototype, 'inputDocumentLastPageNumber', 
   get: function(), 
   set: function(value) 
) 
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.

Remarks

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.

Example

For an example, refer to Convert.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly