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


IRasterRenderer.Raster Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterRenderer Interface > IRasterRenderer.Raster Property
ArcGIS Developer Help

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 [in]

Raster is a parameter of type IRaster* Raster [out, retval]
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