←Select platform

InputDocumentLastPageNumber Property

Summary

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

Syntax
C#
VB
Java
C++
public int InputDocumentLastPageNumber { get; set; } 
Public Property InputDocumentLastPageNumber() As Integer 
   Get 
   Set 
public:  
   property int InputDocumentLastPageNumber 
   { 
      int get() 
      void set(int value) 
   } 
public int getInputDocumentLastPageNumber() 
public void setInputDocumentLastPageNumber(int value) 

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 RunJob and RunJobAsync.

Requirements

Target Platforms

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

Leadtools.Document.Converter Assembly