IMcRegionsSelectorFromID Method
|
|
Get a selector for one or more Identifier values
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxFunction SelectorFromID (
<OptionalAttribute> varIDs As Object
) As Object
Parameters
- varIDs (Optional)
- Type: SystemObject
A single Idenfifier value, or an array of zero or more
Identifier values.
If the varIDs argument is a scalar Identifier value, then
the index of the feature with that Identifier value is
returned as a scalar long value. If no feature has the given Identifier,
then minus 1 is returned.
If varIDs is an array of Identifier values to match, then an array of long index
values is returned, giving the index corresponding to each Identifier.
Identifiers that cannot be matched are returned with an negative index value.
Return Value
Type:
ObjectA scalar or vector of Long values each holding
a non-negative index value, or a negative value denoting no match.
Implements
IMcFeaturesSelectorFromID(Object)
RemarksThe feature Identifier property is a unique number associated with each feature.
This method gives the feature index value(s) associated with Idenfifier value(s).
SelectorFromID is a read-only property
For McRegions with the mcofKeepRegionsAsUnion bit set in the OptionFlags
property, new Identifiers are assigned for most any operation that changes the
regions. The exception is simple removal of subregions; it this case, the Identifier
associated with each remaining connected region is unchanged.
See Also