Click or drag to resize

IMcPointsCopyFrom Method

CopyFrom a source McFeatures into this one, replacing all existing features with those from the source McFeatures.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Sub CopyFrom ( 
	varMcFeaturesSrc As Object
)

Parameters

varMcFeaturesSrc
Type: SystemObject
The McFeatures to copy into this one

Implements

IMcFeaturesCopyFrom(Object)
Remarks
CopyFrom is an "assignment" operation. Any existing features are removed, then a copy is made of all features from an assigning McFeatures source. The source McFeatures is not affected. The calibration and FeatureStatusFlags properties are copied from the source. However, the copied features will have new Identifier numbers. And any existing DisplayOverlays collection is not disturbed, so the new features will be automatically displayed, if the collection is set up to do that. Most OptionFlags are copied from the source, but the mcofAoiOptions (mcofEmptyIsReset, mcofClipToParentImage and mcofSnapToPixelCenters) are never changed by CopyFrom. This allows you to use CopyFrom to set the AOI of some image from any source McRegions without changing the OptionFlags essential to proper AOI behavior. Should you need to change one of these flags for an AOI, assign directly to the OptionFlags property.
See Also