AltText property
The AltText property sets or gets the alternative character data that is associated with a field. You use this property with multiple-pass verification tasks and when you need to display alternative text options to an operator.
VBScript restriction: Because
extended properties are not supported through the C# .NET Interop
interface, you must instead use the set_AltText method or
the get_AltText method.
Syntax
- VBScript
oDCO.AltText (nIndex as Long) as String
Applies to
Field 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.
Returns
String containing the alternative text. The string is stored in the page XML file in ASCII format.VBScript example
This example shows the first alternative value (231.77) for the Total field that an operator entered during a multiple-pass verification task.objTotalField.AltText(1) = "231.77"