RuleBasedLabeling.Add

Add(Func<Feature, bool>, Labeling)

Adds new LabelingRule.

public void Add(Func<Feature, bool> filter, Labeling labeling)
ParameterTypeDescription
filterFunc`2Determines when labeling should be applied to a feature.
labelingLabelingLabeling to apply to a feature when filter returns true.

See Also


Add(LabelingRule)

Adds a rule.

public void Add(LabelingRule rule)
ParameterTypeDescription
ruleLabelingRuleRule to add.

Exceptions

exceptioncondition
ArgumentNullExceptionArgument is null.

See Also