ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterBand Class / HasColormap Method

In This Topic
    HasColormap Method
    In This Topic
    Gets a value indicating whether this raster band has a colormap. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function HasColormap() As Boolean
    public bool HasColormap()

    Return Value

    A boolean value that is true if this raster band has a colormap; otherwise, false.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also