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

GetColors Method
Gets the color values from this colormap. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
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, Windows 10, Windows 8.1

ArcGIS Pro version: 2.3 or higher.
See Also