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)
Parameter | Type | Description |
---|---|---|
filter | Func`2 | Determines when labeling should be used. |
labeling | Labeling | Labeling to apply. |
Return Value
New LabelingRule object.
Exceptions
exception | condition |
---|---|
ArgumentNullException | Filter is null . |
See Also
- class Feature
- class Labeling
- class LabelingRule
- namespace Aspose.Gis.Rendering.Labelings
- assembly Aspose.GIS