ArcGIS Pro 2.8 API Reference Guide
GetColor Method (SymbolExtensionMethods)

ArcGIS.Desktop.Mapping Namespace > SymbolExtensionMethods Class : GetColor Method
ArcGIS.Core.CIM.CIMSymbol
Gets color of a symbol.
Syntax
public static CIMColor GetColor( 
   CIMSymbol symbol
)
Public Shared Function GetColor( _
   ByVal symbol As CIMSymbol _
) As CIMColor

Parameters

symbol
ArcGIS.Core.CIM.CIMSymbol

Return Value

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SymbolExtensionMethods Class
SymbolExtensionMethods Members