Accusoft.MICRXpress1.ActiveX Accusoft Pegasus
Select a Result
Send Feedback  
How To > Determine Results > Select a Result

Glossary Item Box

Select a Result

If recognition of an image succeeds, then a set of results will be available for selection. There are three types of results produced by the Reader’s zonal recognition. They are:

These results form a tree structure that can be walked through and individual results accessed. The call to AnalyzeField method only produces one TextBlockResult, which represents all of the MICR text detected in the specified Reader Area, and is the root of the results tree.

The TextBlockResult will consist of one or more TextLineResults, which represent individual lines of MICR text detected in the image.

Each TextLineResult will consist of one or more CharacterResults, which represent individual MICR characters detected in the image.

The TextBlockResult is always selected until the next call to the AnalyzeField method is made.

To select a TextLineResult at a specific index within the TextBlockResult, use the TextBlockResultSelectTextLine method.

To select a CharacterResult at a specific index within the currently selected CharacterResult, use the TextLineResultSelectTextLine method.

VB Example Copy Code
myMICRXpressObject.AnalyzeField myHDib
IF (myMICRXpressObject.TextBlockResultNumberTextLines > 0) Then
   myMICRXpressObject.TextBlockResultSelectTextLine 0
End If
IF (myMICRXpressObject.TextLineResultNumberCharacterResults > 0) Then
   myMICRXpressObject.TextLineResultSelectCharacterResult 0
End If

 

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