ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SymbolExtensionMethods Class / GetColor Method
ArcGIS.Core.CIM.CIMSymbol

GetColor Method (SymbolExtensionMethods)
Gets color of a symbol.
Syntax
public static CIMColor GetColor( 
   CIMSymbol symbol
)

Parameters

symbol
ArcGIS.Core.CIM.CIMSymbol

Return Value

Remarks
This method returns NULL if the symbol color is locked.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also