SmartZone v7.2 - Updated
AlternateText Method (CharacterResult)




Accusoft.SmartZoneOCR.Net Assembly > 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 text string for the index of the CharacterResult.
Syntax
'Declaration
 
Public Function AlternateText( _
   ByVal index As Integer _
) As String
'Usage
 
Dim instance As CharacterResult
Dim index As Integer
Dim value As String
 
value = instance.AlternateText(index)
public string AlternateText( 
   int index
)
public: string* AlternateText( 
   int index
) 
public:
String^ AlternateText( 
   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 text string corresponding to the index of the CharacterResult.
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 text string for the index. The best character Text is included as the first result.

See Also

Reference

CharacterResult Class
CharacterResult Members

Is this page helpful?
Yes No
Thanks for your feedback.