Rule.CreateFilterRule
Rule.CreateFilterRule method
Creates new rule that applies a symbolizer to feature whenever it passes filter.
public static Rule CreateFilterRule(Func<Feature, bool> filter, VectorSymbolizer symbolizer)
Parameter | Type | Description |
---|---|---|
filter | Func`2 | Determines when symbolizer should be used. |
symbolizer | VectorSymbolizer | Symbolizer to apply. |
Return Value
New Rule object.
Exceptions
exception | condition |
---|---|
ArgumentNullException | Filter is null . |
See Also
- class Feature
- class VectorSymbolizer
- class Rule
- namespace Aspose.Gis.Rendering.Symbolizers
- assembly Aspose.GIS