LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

CurrentPageIndex Property






Gets the zero-based index of the current page being processed by the operation. .NET support WinRT support
Syntax
int CurrentPageIndex {get;}
'Declaration
 
ReadOnly Property CurrentPageIndex As Integer
'Usage
 
Dim instance As IOcrProgressData
Dim value As Integer
 
value = instance.CurrentPageIndex
int CurrentPageIndex {get;}
get_CurrentPageIndex(); 
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IOcrProgressData Interface
IOcrProgressData Members
IOcrEngine Interface
Programming with LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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