ArcGIS Pro 2.6 API Reference Guide
GetColors Method

ArcGIS.Core.Data.Raster Namespace > RasterColormap Class : GetColors Method
Gets the color values from this colormap. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public int[] GetColors()
Public Function GetColors() As Integer()

Return Value

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

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

RasterColormap Class
RasterColormap Members