Class RenderingRule
An instance of this class represents the rule for how the requested image should be rendered or processed.
Namespace: Esri.ArcGISRuntime.Rasters
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class RenderingRule
Remarks
A rendering rule defines the processing that is to be done to the ArcGIS image service. An instance of this class can be created from a RenderingRuleInfo or a JSON string that specifies a service-defined or client-defined rendering rule. See the following document for a list of functions and the syntax for rendering rules: raster function objects.
Constructors
Name | Description |
---|---|
RenderingRule(RenderingRuleInfo) | Initializes a new instance of the RenderingRule class from a given RenderingRuleInfo. |
RenderingRule(String) | Initializes a new instance of the RenderingRule class with server side JSON. |
Properties
Name | Description |
---|---|
RenderingRuleInfo | Gets rendering rule info from rendering rule object. |
RenderingRuleJson | Gets JSON property from rendering rule object. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.2 |
.NET 6.0 | 100.13 - 200.2 |
.NET 6.0 Windows | 100.13 - 200.2 |
.NET 6.0 Android | 200.0 - 200.2 |
.NET 6.0 iOS | 200.0 - 200.2 |
.NET Framework | 100.1 - 200.2 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Android | 100.1 - 100.15 |
iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.2 |
Relevant samples
Raster rendering rule: Display a raster on a map and apply different rendering rules to that raster.