GetRecognizedWords method (ILEADRasterDocument)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short GetRecognizedWords(short iPageIndex)

Overview

Refer to Working with Recognized Words

Remarks

Gets all recognized words for the specified recognized page.

This method should only be called after successfully starting a recognition process by calling the Recognize method.

This method updates the following properties with information about the recognized words for the specified page.

RecognizedWord property

RecognizedWordHeight property

RecognizedWordLeft property

RecognizedWordsCount property

RecognizedWordTop property

RecognizedWordWidth property

RecognizedWordZone property

The GetRecognizedWords method just combines the recognized characters for the specified page into words. To change the contents of the recognized words, change the set of recognized characters by calling the SetRecognizedCharacters method. To save the updated recognized characters to a file, call the SaveDocument method. To save the results into memory, call the SaveResultsToMemory method.

See Also

Elements:

RecognizedWordsCount property, RecognizedWordZone property, RecognizedWordLeft property, RecognizedWordTop property, RecognizedWordWidth property, RecognizedWordHeight property, RecognizedWord property, Recognize method, SetRecognizedCharacters method, SaveDocument method, SaveResultsToMemory method

Topics:

Quick Reference OCR: Working with Recognized Words

 

Using Recognized Characters