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


RenderingRule CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

RenderingRule CoClass

An image service rendering rule class.

Product Availability

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

Description

RenderingRule object is used to define 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.

Interfaces

Interfaces Description
IClone (esriSystem) Provides access to members that control cloning of objects.
IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream (esriSystem)
IRenderingRule Provides access to members that control a rendering rule.
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.
IXMLVersionSupport (esriSystem) Provides access to members that help in serializing an object to different namespaces (versions).