IMcStreamRead Method
|
|
Reads the File or Image object.
Namespace:
MediaCy.IQL.IO
Assembly:
MediaCy.IQL.IO (in MediaCy.IQL.IO.dll) Version: 10.0.6912.0
Syntax
RemarksThis function reads the source file or IStream/IStorage and stores the information
in the Destination local property. Destination can be an McImage or
an IStream/IStorage, or NULL, in which case an Image is created, added to
the collection (based on the flags), and then returned in Destination.
The mcImageCreateFlags are those passed to McImage.Add in order to determine
which type of image (added to the collection, visible, etc...) we wish.
The default for Flags is mcicfDefault, which adds the image to the collection
and sends notifications to the Application to create an Imaging Workspace for the
new image and then to display it.
The image file is closed after this call completes.
The Flags property will be updated by this operation. The image Modified property will
be cleared, and the File property of the image updated.
ExamplesImages.File.Open "c:\myTiff.tif", mcSTREAM_READ
Images.File.Read
Images.File.Close
See AlsoReference
mcImageCreateFlags
Open