Click or drag to resize

IMcImageDuplicate Method

Create a clone of the Aoi of this image.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Function Duplicate ( 
	Optional ImageCreationFlags As mcImageCreateFlags = mcImageCreateFlags.mcicfDefault
) As McImage

Parameters

ImageCreationFlags (Optional)
Type: MediaCy.IQL.EnginemcImageCreateFlags
Flags to pass to the IMcImages::Add method. See mcImageCreateFlags for the list of supported flags. Any mcImportPropertiesFlags, OR'ed in are ignored; all properties are always copied (unless the import filter is changed by a BeforeImportProperties event handler).

Return Value

Type: McImage
A new McImage.
Remarks
The CopyToNewImage method is a more generalized version of this method that allows you to specify a source rectangle other than the Aoi and also to supply a name for the new image. If UseActiveFrameRange is True, then any ActiveFrameRange is honored to decide which frames should be copied. At least one frame must be selected for copying.
See Also