Visual Basic (Declaration) | |
---|---|
Overridable ReadOnly Property LastPageIndex As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
virtual int LastPageIndex {get;} |
Return Value
The zero-based index of the last page in the process that initiated the callback.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 the IOcrPageCollection.
CurrentPageIndex is the index of the current page the operation is processing. CurrentPageIndex will run from FirstPageIndex to LastPageIndex.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family