GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureOCR Class / GetCharacterAlternativeCount 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.





In This Topic
GetCharacterAlternativeCount Method (GdPictureOCR)
In This Topic
Returns the number of alternative symbols of a specific character recognized by the engine.
Syntax
'Declaration
 
Public Function GetCharacterAlternativeCount( _
   ByVal OCRResultID As String, _
   ByVal CharacterIdx As Integer _
) As Integer
public int GetCharacterAlternativeCount( 
   string OCRResultID,
   int CharacterIdx
)
public function GetCharacterAlternativeCount( 
    OCRResultID: String;
    CharacterIdx: Integer
): Integer; 
public function GetCharacterAlternativeCount( 
   OCRResultID : String,
   CharacterIdx : int
) : int;
public: int GetCharacterAlternativeCount( 
   string* OCRResultID,
   int CharacterIdx
) 
public:
int GetCharacterAlternativeCount( 
   String^ OCRResultID,
   int CharacterIdx
) 

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.

Return Value

The number of alternative characters, if any.
See Also

Reference

GdPictureOCR Class
GdPictureOCR Members
GetCharacterAlternativeValue()
GetCharacterAlternativeConfidence()