←Select platform

CurrentPageIndex Property

Summary
Gets the zero-based index of the current page being processed by the operation.
Syntax
C#
VB
Objective-C
C++
Java
public int CurrentPageIndex { get; } 
ReadOnly Property CurrentPageIndex As Integer 
@property (nonatomic, assign, readonly) NSInteger currentPageIndex 
public int getCurrentPageIndex() 
property int CurrentPageIndex { 
   int get(); 
} 

Property Value

The zero-based index of the current page being processed by the operation.

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 the IOcrPageCollection.

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

Example

For an example, refer to OcrProgressCallback.

Requirements

Target Platforms

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

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.