Accusoft Pegasus
ScanFix ActiveX 6.0
ReadFromStream Method
See Also  Send Feedback
sf
An instance of the ScanFix component.
Stream
A stream that the WriteToStream method created.

Description

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

Syntax

Visual Basic
Public Sub ReadFromStream( _
   ByVal sf As ScanFix, _
   ByVal Stream As String _
) 

Parameters

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

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 FormSetFile 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 the ScanFix enhancements normally added using the AddOption Method.

See Also


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