Description

Returns a duplicate of the McFeatures instance.

Return Type

A Variant value.  

Unnamed, newly created McPoints, McLines or McRegions duplicate operator.

Syntax

object.Duplicate

The Duplicate Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McPoints.

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 an 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.