LabelingRule.CreateFilterRule

LabelingRule.CreateFilterRule method

Creates new rule that applies a labeling to feature whenever it passes filter.

public static LabelingRule CreateFilterRule(Func<Feature, bool> filter, Labeling labeling)
ParameterTypeDescription
filterFunc`2Determines when labeling should be used.
labelingLabelingLabeling to apply.

Return Value

New LabelingRule object.

Exceptions

exceptioncondition
ArgumentNullExceptionFilter is null.

See Also