Click or drag to resize

IMcStreamWrite Method

Writes an image to a destination.

Namespace:  MediaCy.IQL.IO
Assembly:  MediaCy.IQL.IO (in MediaCy.IQL.IO.dll) Version: 10.0.6912.0
Syntax
VB
Sub Write ( 
	<OptionalAttribute> Destination As Object
)

Parameters

Destination (Optional)
Type: SystemObject
Remarks
The selected destination can be either a file or an Istream/IStorage. The write will respect the selected file format and any properties previously set. Any needed properties that are not set are either determined by the Source image, or by default values, in that order. The image file or IStream/IStorage is closed after this call completes. The mcsfIsSaveAs flag can be used to indicate that the image should be cropped to the bounding box of all AOIs present on the image (if any). If this flag is not set, the entire image, and if supported by the format, the AOIs and other properties of the image, will be saved to the destination file. The Flags property will be updated by this operation. If the destination file is non-lossy, the image Modified property will be cleared, and the File property of the image updated.
Examples
VB
ThisApplication.ActiveImage.File.Open "c:\temp\myWrite.tif", mcSTREAM_WRITE
ThisApplication.ActiveImage.File.Write
ThisApplication.ActiveImage.File.Close
See Also