IMcMeasuresSelectAll Method
|
|
Enables or disables all measurements in the collection by category
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxSub SelectAll (
Optional CategoryFlags As mcMeasurementCategoryFlags = mcMeasurementCategoryFlags.mcmcfAllCategories,
Optional bEnable As Boolean = true
)
Parameters
- CategoryFlags (Optional)
- Type: MediaCy.IQL.FeaturesmcMeasurementCategoryFlags
Optional flags indicating what category or categories of
measurements are to be enabled or disabled. The default is to enable or
disable measurements with any measurement categories. You may find a
measurement's categories by calling McMeasure.Attributes(mcmaidCategories). - bEnable (Optional)
- Type: SystemBoolean
If True (the default), measurements in the collection matching
the CategoryFlags are enabled; otherwise those measurements' Enabled property
is set False.
RemarksThe method enables or disables only measurements that are already in
the collection. If you wish to enable all available measurements matching some
CategoryFlags, then call AddAll first.
Enabled measurements have their Enabled property set True.
Examples
ThisApplication.ActiveImage.RegionFeatures.Measures.SelectAll mcmcfColor, False
ThisApplication.ActiveImage.RegionFeatures.Measures.SelectAll , False
ThisApplication.ActiveImage.RegionFeatures.Measures.SelectAll mcmcfAllCategories, False
ThisApplication.ActiveImage.RegionFeatures.Measures.Select , False
ThisApplication.ActiveImage.RegionFeatures.Measures.Unselect
See Also