Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Recognize Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : Recognize Method



startPage
The index of the first page to be recognized. This is a zero-based index.
pageCount
The total number of pages to be recognized.
statusCallback
The status callback will be fired for each page recognized
startPage
The index of the first page to be recognized. This is a zero-based index.
pageCount
The total number of pages to be recognized.
statusCallback
The status callback will be fired for each page recognized
Recognizes the specified page(s) of the OCR document.

Syntax

Visual Basic (Declaration) 
Public Sub Recognize( _
   ByVal startPage As Integer, _
   ByVal pageCount As Integer, _
   ByVal statusCallback As RasterDocumentRecognizeStatusCallback _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim startPage As Integer
Dim pageCount As Integer
Dim statusCallback As RasterDocumentRecognizeStatusCallback
 
instance.Recognize(startPage, pageCount, statusCallback)
C# 
public void Recognize( 
   int startPage,
   int pageCount,
   RasterDocumentRecognizeStatusCallback statusCallback
)
C++/CLI 
public:
void Recognize( 
   int startPage,
   int pageCount,
   RasterDocumentRecognizeStatusCallback^ statusCallback
) 

Parameters

startPage
The index of the first page to be recognized. This is a zero-based index.
pageCount
The total number of pages to be recognized.
statusCallback
The status callback will be fired for each page recognized

Example

Refer to DefaultSpellLanguages example.

Remarks

This method will recognize the specified page or pages of the OCR document. Set the RecognitionDataFileName property to a valid file name to save the recognition results to a file before calling this method.
To save the recognition results to memory, call SaveResultsToMemory. To save the recognition results to a file, call SaveResultsToFile.
For more information, refer to Recognizing Document Pages.
For more information, refer to Language Dictionary List.
For more information, refer to Working with a Dictionary.

Requirements

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

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.