ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / BasicRasterLayer Class / CanSetColorizer Method
Your custom colorizer that will be used to draw the raster layer.
Version

CanSetColorizer Method
Determines whether a colorizer is valid for the raster layer and can be updated. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool CanSetColorizer( 
   CIMRasterColorizer colorizer
)

Parameters

colorizer
Your custom colorizer that will be used to draw the raster layer.

Return Value

A boolean indicates that the colorizer can be updated for the layer.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Certain colorizers are only appropriate for certain raster layers.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also