GdPicture.NET.14
GdPicture14 Namespace / GdPictureOCR Class / GetCharacterAlternativeValue Method
The unique result identifier of the executed OCR process obtained by the 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
public char GetCharacterAlternativeValue( 
   string OCRResultID,
   int CharacterIdx,
   int AlternativeIdx
)
public function GetCharacterAlternativeValue( 
    OCRResultID: String;
    CharacterIdx: Integer;
    AlternativeIdx: Integer
): Char; 
public function GetCharacterAlternativeValue( 
   OCRResultID : String,
   CharacterIdx : int,
   AlternativeIdx : int
) : char;
public: char GetCharacterAlternativeValue( 
   string* OCRResultID,
   int CharacterIdx,
   int AlternativeIdx
) 
public:
char GetCharacterAlternativeValue( 
   String^ OCRResultID,
   int CharacterIdx,
   int AlternativeIdx
) 

Parameters

OCRResultID
The unique result identifier of the executed OCR process obtained by the 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()