ArcGIS Pro 3.7 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 Function GetColors() As Integer()
    public int[] GetColors()

    Return Value

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

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also