SmartZone v8.0 - Updated January 12, 2025
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / CharacterResult Class / AlternateConfidence Method
The zero based index for the confidence value. An System.ArgumentOutOfRangeException will occur if the index less than 0 or greater or equal to the NumberResults.




AlternateConfidence Method (CharacterResult)
Gets the confidence value for the index of the CharacterResult.
Syntax
'Declaration
 
Public Function AlternateConfidence( _
   ByVal index As Integer _
) As Integer
 
'Usage
 
Dim instance As CharacterResult
Dim index As Integer
Dim value As Integer
 
value = instance.AlternateConfidence(index)

Parameters

index
The zero based index for the confidence value. An System.ArgumentOutOfRangeException will occur if the index less than 0 or greater or equal to the NumberResults.

Return Value

The confidence value corresponding to the index of the CharacterResult. It will be a value between 0 and 100.
Exceptions
ExceptionDescription
The specified index is less than zero, or greater or equal to the number of results.
Remarks

This method allows you access to the alternate confidence value for the index. The best character Confidence is included as the first result.

See Also