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

In This Topic
    SetColor Method
    In This Topic
    Sets color of a symbol.
    Syntax
    public static void SetColor( 
       CIMSymbol symbol,
       CIMColor color
    )
    Public Shared Sub SetColor( _
       ByVal symbol As CIMSymbol, _
       ByVal color As CIMColor _
    ) 

    Parameters

    symbol
    ArcGIS.Core.CIM.CIMSymbol
    color
    ArcGIS.Core.CIM.CIMColor
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also