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

In This Topic
    GetColor Method (SymbolExtensionMethods)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also