Click or drag to resize

IMcRegionsDuplicate Method

Returns a duplicate of the McFeatures instance.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Function Duplicate As Object

Return Value

Type: Object
Unnamed, newly created McPoints, McLines or McRegions duplicate operator.

Implements

IMcFeaturesDuplicate
Remarks
This method creates a new McFeatures interface, which will have the same parent McImage (if any) that this one is. To duplicate features into a McFeature associated with another McImage, you would create the McFeature and then use CopyFrom to copy in the duplicated features to that instance. The newly created McFeatures will have the same OptionFlags, calibration and FeatureStatusFlags properties as the source. However, the new features will have new Identifier numbers. And any existing DisplayOverlays collection is not copied, so you must set this up if you want the new features to be displayed.
See Also