GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureOCR Class / GetCharacterAlternativeValue Method
The unique result identifier of the executed OCR process obtained by the GdPictureOCR.RunOCR method.
The 0-based index of the character within the specified OCR result. It must be a value between 0 and GetCharacterCount(OCRResultID) - 1.
The 0-based index of the alternative character. It must be a value between 0 and GetCharacterAlternativeCount(OCRResultID, CharacterIdx) - 1.





In This Topic
GetCharacterAlternativeValue Method (GdPictureOCR)
In This Topic
Returns the value of specific alternative character.
Syntax
'Declaration
 
Public Function GetCharacterAlternativeValue( _
   ByVal OCRResultID As String, _
   ByVal CharacterIdx As Integer, _
   ByVal AlternativeIdx As Integer _
) As Char
 

Parameters

OCRResultID
The unique result identifier of the executed OCR process obtained by the GdPictureOCR.RunOCR method.
CharacterIdx
The 0-based index of the character within the specified OCR result. It must be a value between 0 and GetCharacterCount(OCRResultID) - 1.
AlternativeIdx
The 0-based index of the alternative character. It must be a value between 0 and GetCharacterAlternativeCount(OCRResultID, CharacterIdx) - 1.

Return Value

The value of specific alternative character
See Also

Reference

GdPictureOCR Class
GdPictureOCR Members
GetCharacterAlternativeCount()
GetCharacterAlternativeConfidence()