ArcObjects Library Reference (Carto)  

IRasterRenderer.Raster Property

Raster to be rendered.

[Visual Basic .NET]
Public Property Raster As IRaster
[C#]
public IRaster Raster {get; set;}
[C++]
HRESULT get_Raster(
  IRaster** Raster
);
[C++]
HRESULT putref_Raster(
  IRaster* Raster
);
[C++]

Parameters

Raster [out, retval]

  Raster is a parameter of type IRaster

Raster [in]

  Raster is a parameter of type IRaster

Product Availability

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

Description

The Raster property controls the raster being displayed by the renderer. Because the renderers depend on dataset statistics, after changing the raster to be displayed, the update method must be called before performing using the renderer.

See Also

IRasterRenderer Interface

.NET Samples

Create a custom default raster renderer (Code Files: RasterRendererMaker_1bit_TIFF_VBNET)

.NET Related Topics

How to create a raster classify renderer | How to create a raster unique value renderer