GetRecognizedCharacter Method of the RecognizedWordInfo Object
This method provides access to a recognition variant and parameters of a character at a given position in the word. Using this method you can view the main recognition variant of the character (which is used in the resulting text) and all other variants.
Note: The API working with recognition variants is not available for recognizing handprinted texts.
Visual Basic .NET
Sub GetRecognizedCharacter( _ index As Integer, _ variantIndex As Integer, _ result As RecognizedCharacterInfo _ )
HRESULT GetRecognizedCharacter( int index, int variantIndex, IRecognizedCharacterInfo* result );
- [in] Specifies the index of the character in the word. It must be in range from 0 to the length of the word (length of the IRecognizedWordInfo::Text string) minus 1.
- [in] Specifies the index of the recognition variant of the character in the internal collection of character recognition variants. The number of variants in the collection can be obtained using the IRecognizedCharacterInfo::RecognitionVariantsCount property of any variant of the character recognition. Recognition variants are ranked from the best to the worst. The value of the parameter can be -1, which means that the main recognition variant should be returned.
- [in] Refers to the RecognizedCharacterInfo object. This object properties are initialized with values corresponding to parameters of the character variant. A valid object should be passed as this parameter.
This function has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
3/24/2023 8:48:38 AM