Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features