Reads segmentation and reader settings stored in an XML stream.
| Visual Basic |
|---|
Public Sub ReadFromStream( _ ByVal stream As String _ ) |
- stream
- A string that the WriteToStream method created at some time in the past. This string contains configuration details of the MICR Xpress component at the time the string was created.
The stream can be created by means other than the WriteToStream method and the original output of the WriteToStream method can be manipulated. However, if you create or manipulate the stream, it must adhere to the format in the Example section below.
If any attributes of the Process or Segmentation elements fall out of the range of their respective properties, then an invalid format error will occur when trying to read the stream.
<MICRXpress Version="1” xmlns="http://www.PegasusImaging.com/MICRXpress">
<Process MinimumCharacterConfidence="0" RejectionCharacter="*"
AreaLeft="0" AreaTop="0" AreaWidth="0" AreaHeight="0"/>
<Segmentation DetectSpaces="false" MultipleTextLines="true" MaximumBlobSize="0" MinimumTextLineHeight="10"/>
</MICRXpress>
<Process MinimumCharacterConfidence="0" RejectionCharacter="*"
AreaLeft="0" AreaTop="0" AreaWidth="0" AreaHeight="0"/>
<Segmentation DetectSpaces="false" MultipleTextLines="true" MaximumBlobSize="0" MinimumTextLineHeight="10"/>
</MICRXpress>
