Click or drag to resize

IMcStreamClose Method

Closes the stream and calls Close() on the Subclass. This should always be called after completing a read or write operation (Open, Read or Write, then Close).

Namespace:  MediaCy.IQL.IO
Assembly:  MediaCy.IQL.IO (in MediaCy.IQL.IO.dll) Version: 10.0.6912.0
Syntax
VB
Sub Close
Remarks
Closes the stream and calls Close() on the Subclass. This usually results in the closing of the file (or stream), and flushing any data in buffers. Also, any temporary or state information is usually cleared. The SubClass will be destroyed however. If a call to Close is not made, and a subsequent call to Open is made, then the same subclass will be used. This will allow setting of Stream options in one module and then reading the image in another. Resets internal properties, Releases the Subclass McStream Properties are persisted on a call to Close() You MUST Close the McStream before fully releasing it for its resources to be freed.
See Also