Click or drag to resize

IMcMeasuresUnselect Method

Specified items in the collection are disabled

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Sub Unselect ( 
	<OptionalAttribute> MeasureIDs As Object
)

Parameters

MeasureIDs (Optional)
Type: SystemObject
If given, a scalar or array of either the name(s) of the measurements to be disabled (as a string) or the IDs of the measurements to be disabled. The name is McMeasure.Attributes(mcmaidName) and the ID is McMeasure.Attributes(mcmaidID). Note that the referenced measurement does not have to be part of the collection; it will be automatically added. If not given, then all measurements already in the collection are disabled.
Remarks
This method is equivalent to "Select MeasureIDs, False". That is, it sets the McMeasure.Enabled property to False for the specified measurements.
Examples
VB
'Set Enable=False for mRgnArea and mRgnRoundness
ThisApplication.ActiveImage.RegionFeatures.Measures.Unselect Array( mRgnArea", "mRgnRoundness")
'Set Enable=False for all measurements now in the collection
ThisApplication.ActiveImage.RegionFeatures.Measures.Unselect
'The below does the same as the above
ThisApplication.ActiveImage.RegionFeatures.Measures.SelectAll mcmcfAllCategories, False
See Also