Recognize method (ILEADRasterDocument)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short Recognize (short iStartPage, short iPageCount);

Overview

Refer to Recognizing Document Pages

Remarks

Recognizes the specified page or pages in the OCR document.

The following property must be set before calling the Recognize method:

RecognitionDataFileName property

For more information on the steps to take before recognizing one or more pages, refer to Programming with LEADTOOLS OCR COM.

To save the recognition results to a file, call the SaveDocument method.

To save the recognition results to memory instead of a file, set the EnableSaveResultsToMemory property to TRUE and call the SaveResultsToMemory method.

See Also

Elements:

GetStatus method, SaveResultsToMemory method, SaveResultsToMemory method, SetRecognitionResultOptions method, GetRecognitionResultOptions method, GetOutputFileFormats method, GetFileFormatInfo method, SaveDocument method, SpecialRejectedCharacter property, SpecialMissingSymbol property, GetRecognizedCharacters method, SetRecognizedCharacters method, RecognitionDataFileName property, RecognizedCharacterCount property, RecognizedWordCount property, RejectWordCount property, RecognizedTime property, ReadingTime property, PreProcessTime property, DecompositionTime property, RecognizeStatus property, GetStatus method, Recognize method

Topics:

Quick Reference OCR: Getting Status Updates
Quick Reference OCR: Working with a Dictionary

Quick Reference OCR: Recognizing Document Pages