Class RuleBasedLabeling
RuleBasedLabeling class
Applies a labeling to feature according to user-defined rules.
public class RuleBasedLabeling : Labeling, IReadOnlyList<LabelingRule>
Constructors
Properties
| Name | Description |
|---|
| Count { get; } | Gets the number of rules. |
| Item { get; } | Gets the rule at the specified index . |
Methods
| Name | Description |
|---|
| Add(LabelingRule) | Adds a rule. |
| Add(Func<Feature, bool>, Labeling) | Adds new LabelingRule. |
| AddElseRule(Labeling) | Adds a labeling that will be applied to features that don’t match any filtering rule. |
| GetEnumerator() | Returns an enumerator that iterates through rules. |
See Also