Constructor RenderingRule
RenderingRule(RenderingRuleInfo)
Initializes a new instance of the RenderingRule class from a given RenderingRuleInfo.
Declaration
public RenderingRule(RenderingRuleInfo renderingRuleInfo)
Parameters
Type | Name | Description |
---|---|---|
RenderingRuleInfo | renderingRuleInfo | The rendering rule info object |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
Relevant samples
Raster rendering rule: Display a raster on a map and apply different rendering rules to that raster.
RenderingRule(String)
Initializes a new instance of the RenderingRule class with server side JSON.
Declaration
public RenderingRule(string renderingRuleJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | renderingRuleJson | The JSON that could either be a raster function object used in the image service REST API or a predefined service rendering rule. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |