Click or drag to resize

IMcStreamDuplicate Method

This method copies the file indicated by either Source or FileName to the Destination. The file is copied byte by byte, bypassing the normal McStream functionality of reading the image. This method is analagous to an Operating System copy/paste of a File.

Namespace:  MediaCy.IQL.IO
Assembly:  MediaCy.IQL.IO (in MediaCy.IQL.IO.dll) Version: 10.0.6912.0
Syntax
VB
Sub Duplicate ( 
	Destination As Object
)

Parameters

Destination
Type: SystemObject
Examples
VB
' This code snippet duplicates an open file
Images.Open "c:\cells.tif" ' this is the source
ThisApplication.ActiveImage.Duplicate "c:\cells_copy.tif" ' this is the destination
' This code snippet duplicates a file without opening it
Images.File.FileName = "c:\cells.tif" ' this is the source
Images.File.Duplicate "c:\cells_copy.tif" ' this is the destination
See Also