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


IRasterUniqueValueRenderer.AddValue Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IRasterUniqueValueRenderer.AddValue Method

Adds a value to a particular class in the specified heading.

[Visual Basic .NET]
Public Sub AddValue ( _
    ByVal iHeading As Integer, _
    ByVal iClass As Integer, _
    ByVal Value As Object _
)
[C#]
public void AddValue (
    int iHeading,
    int iClass,
    object Value
);
[C++]
HRESULT AddValue(
  long iHeading,
  long iClass,
  VARIANT Value
);
[C++]

Parameters iHeading [in] iHeading is a parameter of type long iClass [in] iClass is a parameter of type long Value [in] Value is a parameter of type VARIANT

Product Availability

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

See Also

IRasterUniqueValueRenderer Interface

.NET Samples

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

.NET Related Topics

How to create a raster unique value renderer