Class DictionaryRenderer
Renders geoelements using symbols generated from a DictionarySymbolStyle.
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class DictionaryRenderer : Renderer
Remarks
The DictionaryRenderer applies symbols to features or graphics according to a set of input attribute values.The symbol primitives and logic(rule engine) for applying symbols is provided by an associated DictionarySymbolStyle The DictionarySymbolStyle depends on attribute names to define the symbology of each feature. The attributes reference different symbol components in the style, which are assembled to create a complex symbol. In order to display geoelements using the DictionaryRenderer, attributes in your data must either use the expected attribute names or be mapped to the proper style attributes.
Constructors
| Name | Description |
|---|---|
| DictionaryRenderer(DictionarySymbolStyle) | Initializes a new instance of the DictionaryRenderer class. |
| DictionaryRenderer(DictionarySymbolStyle, IDictionary<String, String>, IDictionary<String, String>) | Initializes a new instance of the DictionaryRenderer class. |
Properties
| Name | Description |
|---|---|
| IsTextVisible | Gets or sets a value indicating whether the text on the symbol is visible. |
| ScaleExpression | Gets or sets an arcade expression object with an expression for scaling symbols in a dictionary renderer. |
| SymbolDictionaryStyle | Gets or sets the dictionary symbol style to be applied by the renderer. |
| SymbologyFieldOverrides | Gets or sets the dictionary of a symbology attribute and its override used to fetch a symbol from the dictionary symbol style. |
| TextFieldOverrides | Gets or sets the map of a text attribute and its override used to fetch symbol text and placement from the dictionary symbol style. |
| TextVisibilityMaxScale | Gets or sets the maximum scale for 2D or distance for 3D at which symbol's text will be visible. |
| TextVisibilityMinScale | Gets or sets the minimum scale for 2D or distance for 3D at which symbol's text will be visible. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |