ArcGIS Pro 2.8 API Reference Guide
GetColormap Method (Raster)

ArcGIS.Core.Data.Raster Namespace > Raster Class : GetColormap Method
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 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members