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


IRasterClassifyColorRampRenderer.Label Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IRasterClassifyColorRampRenderer.Label Property

Label for the class at the given index.

[Visual Basic .NET]
Public Function get_Label ( _
    ByVal Index As Integer _
) As String
[Visual Basic .NET]
Public Sub set_Label ( _
    ByVal Index As Integer, _
    ByVal Label As String _
)
[C#]
public string get_Label (
    int Index
);
[C#]
public void set_Label (
    int Index,
    string Label
);
[C++]
HRESULT get_Label(
  long Index,
  BSTR* Label
);
[C++]
HRESULT put_Label(
  long Index,
  BSTR Label
);
[C++]

Parameters Index [in] Index is a parameter of type long Label [out, retval] Label is a parameter of type BSTR Index [in] Index is a parameter of type long Label [in] Label is a parameter of type BSTR

Product Availability

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

Description

The Label for each class is displayed next to the symbol in the table of contents.

See Also

IRasterClassifyColorRampRenderer Interface

.NET Related Topics

How to create a raster classify renderer