This document is archived and information here might be outdated.  Recommended version.


IRenderingRule Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IRenderingRule Interface

Provides access to members that control a rendering rule.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

IRenderingRule interface provides methods defining how an image service should be rendered to generate the requested image. A rendering rule consists of: (1) a raster function; (2) a raster renderer;  (3) a name and description of a rendering rule that is defined on the image service. The raster function will be applied first to the image service, and followed by the raster renderer. The result will then be converted to requested format, e.g. jpeg, png, bmp, and etc. If the function and renderer are both missing, the name is assumed to be a rendering rule available on the service. If there is no rendering rule, and the image service still needs to be rendered to generate the requested image, a default renderer will be applied. A proper default renderer is created using the same rule as when a raster dataset of the same properties, e.g. number of band, pixel type, and etc is added to ArcMap.

Members

Description
Read/write property Arguments The raster function arguments.
Read/write property Description The rendering rule description.
Read/write property Function The raster function.
Read/write property Name The rendering rule name.
Read/write property Renderer The raster renderer.
Read/write property VariableName The raster function variable name.

CoClasses that implement IRenderingRule

CoClasses and Classes Description
RenderingRule An image service rendering rule class.

.NET Related Topics

How to apply a raster function to an image service