Class LabelingRule
Contents
[
Hide
]LabelingRule class
A user-defined rule for RuleBasedLabeling.
public class LabelingRule
Properties
| Name | Description |
|---|---|
| Filter { get; } | Determines if “filter-rule” should apply labeling to the feature. If returns true labeling is used; otherwise, feature is skipped. |
| IsElseRule { get; } | Gets a value indicating whether this rule is “else-rule”. |
| IsFilterRule { get; } | Gets a value indicating whether this rule is “filter-rule”. |
| Labeling { get; } | Labeling to apply to the feature. |
Methods
| Name | Description |
|---|---|
| static CreateElseRule(Labeling) | Creates new rule that applies a labeling to feature whenever it doesn’t match any filter rule. |
| static CreateFilterRule(Func<Feature, bool>, Labeling) | Creates new rule that applies a labeling to feature whenever it passes filter. |
See Also
- namespace Aspose.Gis.Rendering.Labelings
- assembly Aspose.GIS