ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / Raster Class / GetColormap Method

In This Topic
    GetColormap Method (Raster)
    In This Topic
    Gets the colormap of this raster. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public RasterColormap GetColormap()
    Public Function GetColormap() As RasterColormap

    Return Value

    A RasterColormap representing the colormap of this raster or null if none exists.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also