Accusoft Pegasus
Accusoft MICR Xpress 1
ReadFromStream Method
See Also  Send Feedback
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.

Description

Reads segmentation and reader settings stored in an XML stream.

Syntax

Visual Basic
Public Sub ReadFromStream( _
   ByVal stream As String _
) 

Parameters

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.

Remarks

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.

Example

<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>

See Also


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