Accusoft.ScanFixXpress7.Net
ReadFromStream Method
See Also  Send Feedback
Accusoft.ScanFixXpressSdk Namespace > Enhancements Class : ReadFromStream Method




stream
A stream that the WriteToStream method created.
sf
An instance of the ScanFix component

Glossary Item Box

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

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

stream
A stream that the WriteToStream method created.
sf
An instance of the ScanFix component

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThrown when sf parameter is null

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 Operations property of a FormDirector FormSet object. When the Type property of that object is "ScanFix/Enhancement", the Content property contains a string that you should send to this method.

The properties that this method reads from the stream are:

See Also

©2012. Accusoft Corporation. All Rights Reserved.