←Select platform

InputDocumentLastPageNumber Property (DocumentConverterJobData)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents.Converters Assembly
Click or drag to resize