Next Method of the EnumDictionaryWords Object
This method retrieves the next word from the iteration sequence together with the word's weight in the dictionary.
Syntax
C++
HRESULT Next(
int* Confidence,
BSTR* Result
);
C#
string Next( out int Confidence );
Visual Basic .NET
Function Next(ByRef Confidence As Integer) As String
Parameters
- Confidence
- [out] This parameter serves for passing out the confidence of the word. Confidence or weight of the word in the dictionary defines the priority level for a word; this value is used to choose among word variants during text recognition. The higher this value is, the more preferable is this variant for the recognized word. When the iteration is over, 0 will be assigned to this parameter.
- Result
- [out, retval] A pointer to the BSTR variable that receives the return value of this method — word from the dictionary. When the iteration is over, 0 is returned.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
17.09.2024 15:14:40