类 RuleBasedLabeling
RuleBasedLabeling class
根据用户定义的规则对要素应用标注。
public class RuleBasedLabeling : Labeling, IReadOnlyList<LabelingRule>
构造函数
| 名称 | 描述 |
|---|---|
| RuleBasedLabeling() | 默认构造函数。 |
属性
| 名称 | 描述 |
|---|---|
| Count { get; } | 获取规则的数量。 |
| Item { get; } | 获取指定索引处的规则。 |
方法
| 名称 | 描述 |
|---|---|
| Add(LabelingRule) | 添加一条规则。 |
| Add(Func<Feature, bool>, Labeling) | 添加新的LabelingRule。 |
| AddElseRule(Labeling) | 添加一个标注,用于未匹配任何过滤规则的要素。 |
| GetEnumerator() | 返回一个遍历规则的枚举器。 |
另见
- class Labeling
- class LabelingRule
- namespace Aspose.Gis.Rendering.Labelings
- assembly Aspose.GIS