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


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

IRasterUniqueValueRenderer.Label Property

Label for a particular class in the specified heading.

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

Parameters iHeading [in] iHeading is a parameter of type long iClass [in] iClass is a parameter of type long pLabel [out, retval] pLabel is a parameter of type BSTR iHeading [in] iHeading is a parameter of type long iClass [in] iClass is a parameter of type long pLabel [in] pLabel is a parameter of type BSTR

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