Accusoft.MicrXpress1.Net Accusoft Pegasus
Access Result Attributes
See Also Send Feedback  
How To > Determine Results > Access Result Attributes

Glossary Item Box

Access Result Attributes

To access result attributes, use one of the appropriate properties or methods exposed through the MICR Xpress API.

The supported Result properties are listed below:

Property Description
Result.Area Gets the coordinates of the result object's bounding box.
Result.Confidence Gets the confidence of the result object.
Result.Text Gets the text of the result object.

C# Example Copy Code
...
TextBlockResult myTextBlockResult = myMicrXpress.Reader.AnalyzeField( myHDib );
if (null != myTextBlockResult)
{
   
for (int textLineIndex = 0; textLineIndex < myTextBlockResult.NumberTextLines; textLineIndex++)
   {
       TextLineResult myTextLineResult = myTextBlockResult.TextLine( textLineIndex );
       
for (int characterIndex = 0; characterIndex < myTextLineResult.NumberCharacters; characterIndex++)
       {
          CharacterResult myCharacterResult = myTextLineResult.Character( characterIndex );
          MessageBox.Show( myCharacterResult.Text );
       }
   }
}
...

 

See Also

©2009. Pegasus Imaging Corporation, DBA Accusoft Pegasus. All Rights Reserved.