LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
LastPageNumber Property
See Also 
Leadtools.Forms.Ocr Namespace > OcrAutoRecognizeJobData Structure : LastPageNumber Property



The LastPageNumber Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the 1-based index of the last page number in ImageFileName to recognize.

Syntax

Visual Basic (Declaration) 
Public Property LastPageNumber As Integer
Visual Basic (Usage)Copy Code
Dim instance As OcrAutoRecognizeJobData
Dim value As Integer
 
instance.LastPageNumber = value
 
value = instance.LastPageNumber
C# 
public int LastPageNumber {get; set;}
C++/CLI 
public:
property int LastPageNumber {
   int get();
   void set (    int value);
}

Property Value

An System.Int32 that indicates the 1-based index of the last page number in ImageFileName to recognize. You can use this and FirstPageNumber to recognize only a certain range of pages in the source file. You can use a value of -1 to indicate "up to last page in the file", otherwise, this member must be a value greater than or equals to FirstPageNumber up to the maximum number of pages in the source file name.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

LastPageNumber requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features