Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FirstPageIndex Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrProgressData Interface : FirstPageIndex Property



Gets the zero-based index of the first page in the process that initiated the callback.

Syntax

Visual Basic (Declaration) 
Overridable ReadOnly Property FirstPageIndex As Integer
Visual Basic (Usage)Copy Code
Dim instance As IOcrProgressData
Dim value As Integer
 
value = instance.FirstPageIndex
C# 
virtual int FirstPageIndex {get;}
C++/CLI 
virtual property int FirstPageIndex {
   int get();
}

Return Value

The zero-based index of the first page in the process that initiated the callback.

Example

For an example, refer to OcrProgressCallback.

Remarks

FirstPageIndex and LastPageIndex corresponds to the index in the IOcrPageCollection of the first and last pages when a method such as Recognize(int firstPageIndex, int lastPageIndex, OcrProgressCallback callback) is called.

If a method that operates on a single page is called, such as IOcrPage.Recognize, then FirstPageIndex and LastPageIndex will be the same value and are equal to the index of IOcrPage in IOcrPageCollection.

CurrentPageIndex is the index of the current page the operation is processing. CurrentPageIndex will run from FirstPageIndex to LastPageIndex.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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