Click or drag to resize

IMcFramesDuplicate Method

Duplicate frames from this collection into a new McFrames instance

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Function Duplicate ( 
	<OptionalAttribute> FramesToDuplicate As Object
) As McFrames

Parameters

FramesToDuplicate (Optional)
Type: SystemObject
An optional selector for the frames to be duplicated from the collection. If missing or a scalar -1, all frames in the collection are duplicated. This selector may be an array of Variant, in which case the contents of each Variant are duplicated from the collection. Each Variant may be a single scalar index value (if negative, then all frames in the source collection are duplicated), or it may be a single scalar LONGRANGE giving Start and End source collection indices, or it may be an array of collection index values or an array of LONGRANGE collection index ranges. In addition, it may be a McFrame object instance or an array of them to be added to the duplicated collection. Finally, the FramesSelector argument may be a McFrames collection (or an array of them) with a ParentImage the same as this one's. In this case frames from the source IMcFrames collection(s) are added to the duplicated McFrames collection.

Return Value

Type: McFrames
A new McFrames instance holding the specified FramesToDuplicate.
Remarks
The new, duplicated McFrames instance will have the same ParentImage McImage as the source McFrames instance. The McFrame instances to be placed in the new collection can be specified in a number of ways based on the optional FramesToDuplicate argument. If the FramesToDuplicate argument is missing, then all frames in this source McFrames collection are duplicated in the new collection. Indices specified in the FramesToDuplicate argument are source McFrames collection indices, not FrameIndex values for the position of the frame in its ParentImage.
See Also