ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterColormap Class / GetColors Method

In This Topic
    GetColors Method
    In This Topic
    Gets the color values from this colormap. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public int[] GetColors()
    Public Function GetColors() As Integer()

    Return Value

    An array of integers representing the color values (as OLE color) to map pixel values to.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also