Accusoft.SmartZoneOCR5.Net - Updated
AlternateText Method






Accusoft.SmartZoneOCRSdk Namespace > CharacterResult Class : AlternateText Method
The zero based index for the text string. An System.ArgumentOutOfRangeException will occur if the index less than 0 or greater or equal to the NumberResults.
Gets the alternate text string for the index of the CharacterResult.
Syntax
'Declaration
 
<System.Diagnostics.DebuggerStepThroughAttribute()>
<System.Diagnostics.DebuggerNonUserCodeAttribute()>
Public Function AlternateText( _
   ByVal index As System.Integer _
) As System.String
'Usage
 
Dim instance As CharacterResult
Dim index As System.Integer
Dim value As System.String
 
value = instance.AlternateText(index)
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public System.string AlternateText( 
   System.int index
)
public function AlternateText( 
    index: System.Integer
): System.String; 
System.Diagnostics.DebuggerStepThroughAttribute()
System.Diagnostics.DebuggerNonUserCodeAttribute()
public function AlternateText( 
   index : System.int
) : System.String;
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public: System.string* AlternateText( 
   System.int index
) 
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public:
System.String^ AlternateText( 
   System.int index
) 

Parameters

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

Return Value

The alternate text string corresponding to the index of the CharacterResult.
Remarks

This method allows you access to the alternate text string for the index.

See Also

Reference

CharacterResult Class
CharacterResult Members