Accusoft Pegasus
Accusoft.MicrXpress1.Net
ReadFromStream Method
See Also  Send Feedback
Accusoft.MicrXpressSdk Namespace > MicrXpress Class : ReadFromStream Method




stream
Reads a specially-formatted stream and places the values into properties of this object.

Syntax

Visual Basic (Declaration)  
Public Sub ReadFromStream( _
   ByVal stream As String _
) 
Visual Basic (Usage) Copy Code
Dim instance As MicrXpress
Dim stream As String
 
instance.ReadFromStream(stream)
C#  
public void ReadFromStream( 
   string stream
)
Managed Extensions for C++  
public: void ReadFromStream( 
   string* stream
) 
C++/CLI  
public:
void ReadFromStream( 
   String^ stream
) 

Parameters

stream

Exceptions

Exception Description
FormatException Thrown if the stream argument does not represent a well formed MicrXpress XML stream (i.e. it could not be parsed).

Remarks

A string that the WriteToStream method created at some time in the past.

This method reads a stream, which contains the values of properties for this object. It provides a convenient way to store and retrieve the values, and preserves as much future compatibility as possible.

This method should read any stream that the WriteToStream method created, even if an older version of this toolkit created it. This method will fail to read a stream that a newer version of this toolkit created.

Note: Retrieve the value for the stream from the Recognition property of a FormDirector MicrXpress object. When the Type property of that object is "MicrXpress/Recognition", the Content property contains a string that you should send to this method.

The properties that this method reads from the string are:

  • Area
  • MinimumCharacterConfidence
  • RejectionCharacter
  • Segmentation

See Also


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