Click or drag to resize

IMcImageSetDuplicate Method

Duplicate the set

Namespace:  MediaCy.IQL.Sets
Assembly:  MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
Syntax
VB
Function Duplicate ( 
	Region As McImageSetRegion,
	CopyContent As Boolean
) As McImageSet

Parameters

Region
Type: MediaCy.IQL.SetsMcImageSetRegion
CopyContent
Type: SystemBoolean
a flag indicating whether to copy image content to the new set

Return Value

Type: McImageSet
Remarks
Duplicates the set, adding a new set with the default name "Copy of <name>", and optionally copying the content of the set. The currently defined dimensionality is always copied, including any data channels, if present. User-define flags and data are not copied to the duplicate set.
Note Note
The copy of the content is a real copy of all pixel data from the images of the original set to new, unsaved images in the duplicate set. Care should be taken with this flag and with the Region defined, because if the set is large and not fully loaded from disk (if opened from file), the operation could take some time as frames are loaded from disk and copied.
See Also