CharConfidence property

The CharConfidence property sets or gets the confidence level of the value of a character.

VBScript restriction: Because extended properties are not supported through the C# .NET Interop interface, you must instead use the set_CharConfidence method or the get_CharConfidence method.
The confidence level of each character is a digit from 0 (lowest confidence) to 9 (highest confidence). If the confidence level for a four-character field is 9999, each of the 4 characters has a confidence level of 9.

Syntax

VBScript
oDCO.CharConfidence (nIndex as Long) as Long 

Applies to

Character objects only.

Type

Read and write.

Arguments

nIndex
0 specifies the primary value. When the field contains multiple recognition, voting, or multiple-pass data entry values, 1 specifies the first alternative, 2 specifies the second alternative, and so on.

VBScript example

This example sets the confidence level of the primary character to 9, or the highest confidence level.
oDCO.CharConfidence(0)=9 ‘ high confidence
conf = oDCO.CharConfidence(0)