Accusoft.SmartZoneOCR5.Net - Updated
ReadFromStream Method






Accusoft.SmartZoneOCRSdk Namespace > SmartZoneOCR Class : ReadFromStream Method
A string that the WriteToStream method created at some time in the past.
Reads a specially-formatted stream and places the values into properties of this object.
Syntax
'Declaration
 
<System.Diagnostics.DebuggerNonUserCodeAttribute()>
<System.Diagnostics.DebuggerStepThroughAttribute()>
Public Sub ReadFromStream( _
   ByVal stream As System.String _
) 
'Usage
 
Dim instance As SmartZoneOCR
Dim stream As System.String
 
instance.ReadFromStream(stream)
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public void ReadFromStream( 
   System.string stream
)
public procedure ReadFromStream( 
    stream: System.String
); 
System.Diagnostics.DebuggerNonUserCodeAttribute()
System.Diagnostics.DebuggerStepThroughAttribute()
public function ReadFromStream( 
   stream : System.String
);
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public: void ReadFromStream( 
   System.string* stream
) 
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public:
void ReadFromStream( 
   System.String^ stream
) 

Parameters

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

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: You should retrieve the value for the stream from the Recognition property of a FormDirector SmartZone object. When the Type property of that object is "SmartZone/Recognition", the Content property contains a string that you should send to this method.

The properties that this method reads from the string are:

See Also

Reference

SmartZoneOCR Class
SmartZoneOCR Members
WriteToStream Method