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

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

ArcGIS Pro version: 3 or higher.
See Also