|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterRendererMaker
Provides access to members that can determine the default display of a raster dataset.
The IRasterRendererMaker interface controls the renderer used to display a raster upon initial display.
To create your own raster renderer maker, implement the
IRasterRendererMaker interface in an object and register this renderer maker object with the Raster Renderer Makers component category. If the priority returns a value greater than 0, this renderer will have the ability to provide a renderer before the system default. For rasters, which you wish to use the system default, return Null instead of a valid renderer. If no renderer is returned from this renderer maker, the raster will be passed to the next highest priority until a renderer is created. This allows you to specify multiple custom rendering combinations that can be used with different priority levels. The default renderer maker will create a renderer for any raster dataset.
Method Summary | |
---|---|
IRasterRenderer |
createDefaultRasterRenderer(IRaster pRaster)
Returns the raster renderer which should be used for the default display of the input raster. |
int |
getPriority()
Controls the order in which renderer makers are selected. |
Method Detail |
---|
IRasterRenderer createDefaultRasterRenderer(IRaster pRaster) throws IOException, AutomationException
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPriority() throws IOException, AutomationException
The priority method returns the priority of this renderer maker relative to others in the system. Renderer makers are called with decreasing priority until a renderer is provided for a raster. As soon as a renderer is returned, the priority of the RasterRendererMakerDefault is 0. The CreateRasterDefaultRenderer method returns the renderer that will be used by default for the input raster.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |