Description

The number of edges currently found on one or selected profiles.

Property type

A Variant value.  

Syntax

object.EdgeCounts([Selector])

The EdgeCounts Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McProfileEdges.
SelectorOptional. A Variant value.

An empty variant, a single negative value, a single index value, or an array of zero or more index values (negative index values are legal but will be ignored).

If the Selector argument is a non-negative scalar value, then the edge counts for the indicated profile is exposed as a scalar Long value.

If the Selector argument is Empty, Error or Null, or any negative scalar value, then the edge counts for all ProfilesAncestor.CountOfProfiles profiles available in the last access to ProfileValues, exposed as an array of Long values, one for each feature. The number of elements in the array will be equal to the ProfilesAncestor.CountOfProfiles property.

If Selector is an array, then zero or positive values are treated as indices into the features collection, negative values are legal but ignored. In this case, the edge counts for the indicated features will be exposed as an array of Long values equal to the length of the number of non-negative elements in the Selector array. Index values greater or equal to the ProfilesAncestor.CountOfProfiles property are illegal.

Remarks

When accessing the EdgeCounts property, the Selector argument determines whether all line profile edge counts are returned as an array (this is the default case), or if a single edge count is to be returned or a sub-selection of all profile edge counts is exposed as an array.