Description

Enables or disables all measurements in the collection by category

Return Type

None  

Syntax

object.SelectAll [CategoryFlags], [bEnable]

The SelectAll Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McMeasures.
CategoryFlagsOptional. A mcMeasurementCategoryFlags enumeration, as described in settings.

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

bEnableOptional. A Boolean value.

If True (the default), measurements in the collection matching the CategoryFlags are enabled; otherwise those measurements' Enabled property is set False.

Settings

The settings for CategoryFlags are:

ConstantValueDescription
 mcmcfNoCategory0

no category

 mcmcfBasic1

Basic measurement

 mcmcfHousekeeping2

Housekeeping measurement

 mcmcfLuminance4

Luminance related measurement

 mcmcfDensity8

Optical density related measurement

 mcmcfHistogram16

A histogram or pixel-counting based measurement

 mcmcfSize32

Size related measurement

 mcmcfPosition64

Position related measurement

 mcmcfFeatureShape128

Feature shape related measurement

 mcmcfReferenceFeature256

Measurement relating to a reference feature

 mcmcfNesting512

Nesting relationship measurement

 mcmcfMarker1024

Some marker or landmark measurement

 mcmcfIgnoresHoles2048

Measurement ignores holes

 mcmcfTexture4096

A texture related measurement

 mcmcfClassified8192

A classification related measurement

 mcmcfColor16384

A color related measurement

 mcmcfManualMeasure32768

Available in as one of the “Manual Measurements”.

 mcmcfPolyline65536

The measurement is only relevant for lines with more than one segment

 mcmcfUserDefined131072

The measurement is a user-defined one

 mcmcfAllCategories-1

All categories

Remarks

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