GetCharacterAlternativeValue Method (GdPictureOCR)
Returns the value of specific alternative character.
public char GetCharacterAlternativeValue(
string ,
int ,
int
)
public function GetCharacterAlternativeValue(
: String;
: Integer;
: Integer
): Char;
public function GetCharacterAlternativeValue(
: String,
: int,
: int
) : char;
public: char GetCharacterAlternativeValue(
string* ,
int ,
int
)
public:
char GetCharacterAlternativeValue(
String^ ,
int ,
int
)
'Declaration
Public Function GetCharacterAlternativeValue( _
ByVal As String, _
ByVal As Integer, _
ByVal 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
Reference
GdPictureOCR Class
GdPictureOCR Members
GetCharacterAlternativeCount()
GetCharacterAlternativeConfidence()