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.
HRESULT Next( int* Confidence, BSTR* Result );
string Next( out int Confidence );
Visual Basic .NET
Function Next(ByRef Confidence As Integer) As String
- [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.
- [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.
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.