 | mcmaidID | 0 |
As Long. For built-in measurements, the TagNumber (DISPID) of the measurment. Zero for all custom measurements.
|
 | mcmaidName | 1 |
As String. Parseable name of the measurement.
|
 | mcmaidAllowedParent | 2 |
As mcMeasurementParent. The allowed parent of the measurement.
|
 | mcmaidParent | 3 |
As mcMeasurementParent. The actual parent of the measurement instance.
|
 | mcmaidCategories | 4 |
As mcMeasurementCategoryFlags. The categories that the measurement is part of. Category flags are Or'ed together.
|
 | mcmaidPerFeatureMeasurement | 5 |
As Boolean. True (the usual case) if the measurement is computed on a per-feature basis of the ancestor McFeatures (e.g., the Area of each region). False if only one measurement is computed for all features (e.g., a count of the number of regions that overlap other regions), or if the measurements do not correspond one-to-one to the associated feature index. Note that non-numeric measurements, where Attributes(mcmaidResultType) is something other than mcmrtNumeric, can also have this Attribute True if the measurement Value McFeatures has features that correspond one-to-one to the ancestor McFeatures (e.g., mpRgnCentroidAsPoint); this is the usual case for non-numeric measurements.
|
 | mcmaidNofDimensions | 6 |
As Long. Number of dimensions for the measurment Value property. Zero indicates that the Value is a scalar. One indicates that the measurement result is a 1-dimensional array (which under some circumstances might be a length-1 or even length-0 array). Two indicates that the Value is a two-dimensional array and so on. The shape of array results is given by the mcmaidShape AttributeID. The measurement Value is one result per-feature if mcmaidPerFeatureMeasurement AttributeID is True, so in this case, the number of dimensions will always be 1 or more. The number of dimensions will always be 4 or less.
|
 | mcmaidShape | 7 |
Array As Long. The shape (e.g., size of each dimension) of the entire measurement Value. Sizes of all dimensions are returned encoded in a a 1-D array with a length given by mcmaidNofDimensions, with element zero representing Dim1 (the slowest moving). Sizes of fixed dimensions are returned as positive numbers, while sizes of variable dimensions are returned as zero. Variable dimensions beyond the first will be represented in the Value property as an array of Variant, with each Variant itself holding an array. Note that if the Value property is a scalar [i.e., Attributes(mcmaidNofDimensions) equal to 0], this array will be zero-length.
For example, in the usual case of a single value per-feature measurement, mcmaidNofDimensions will be 1, while mcmaidShape will return a length-1 array with 0 (a variable size) as the value.
|
 | mcmaidResultMcObjectType | 8 |
As mcobjTypeEnum. The Type of the ValueMcObject property. The VARTYPE of the McMeasure.ValueMcObject property can be determined by getting the McObject.ValueType property. Use McMeasure.Attributes(mcmaidResultValueType) to get the result McMeasure.Value property's type.
|
 | mcmaidDependencies | 9 |
As mcMeasurementDependencyFlags. Determines under what conditions the measurement becomes stale (i.e., the McMeasure.IsValueStale property goes True). The McMeasure.Value property and statistics are only recomputed when accessed if some dependency of the measurement has changed since the last access.
|
 | mcmaidCanBeEnabled | 10 |
As Boolean. True if the measurement can be Enabled for computation. This will usually be True, but an McMeasure instance without an ancestor McImage cannot perform any luminance-related measurements (ones with a mcmdfImageLuminance dependency) and some measurements require multi-channel or 3-channel color images. Some measurements may require other properties to be set before a measurement can be made. For example, most measurements for McRefFeatures objects require that the McRefFeatures.ReferenceFeature property be assigned before the measurement's Value property can be accessed..
|
 | mcmaidResultType | 11 |
As mcMeasurementResultType. The overall type of the measurement Value. Most measurement results are numeric (mcmrtNumeric), but some results are an McFeatures-derived object (McPoints, McLines or McRegions). Use McMeasure.Attributes(mcmaidResultValueType) to get the result McMeasure.Value property's type. Use McMeasure.Attributes(mcmaidResultMcObjectType) to get the result McMeasure.ValueMcObject type; note that only mcmrtNumeric results expose a McMeasure.ValueMcObject property.
|
 | mcmaidIllustration | 12 |
As a Picture object. If not Nothing, an 80 by 60 pixel illustration suitable for accompanying the DisplayName and Description. The program must handle the case where Nothing is returned; that is, where there is no illustration for the measurement.
|
 | mcmaidOneDimPerFeature | 13 |
As Boolean. True (the usual case) if Attributes(mcmaidPerFeatureMeasurement) is True, Attributes(mcmaidResultType)=mcmrtNumeric and Attributes(mcmaidNofDimensions) equals 1. Only for measurements where Attributes(mcmaidOneDimPerFeature) is True will the Filter method or any of the statistical methods succeed.
|
 | mcmaidCanFilter | 14 |
As Boolean. True (the usual case) if the McMeasure.Filter method can be called. This will usually be the same as Attributes(mcmaidOneDimPerFeature).
|
 | mcmaidCanGetStatistics | 15 |
As Boolean. True (the usual case) if the McMeasure.Count, McMeasure.Min, McMeasure.Max, McMeasure.Mean, and so on statistical properties can be accessed. This will usually be the same as Attributes(mcmaidOneDimPerFeature).
|
 | mcmaidResultValueType | 16 |
As VARTYPE (unsigned short interger). The Vartype of the McMeasure.Value property variant. For standard numeric results this will be vbDouble.
|
 | mcmaidDefaultRangeMin | 17 |
As Double. The default for the McMeasure.RangeMin property. This property is only useful if Attributes(mcmaidCanFilter) returns True.
|
 | mcmaidDefaultRangeMax | 18 |
As Double. The default for the McMeasure.RangeMax property. This property is only useful if Attributes(mcmaidCanFilter) returns True.
|
 | mcmaidDisconnectMeasure | 100 | |