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 ); } } } ... | |
