ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SelectionEnvironment Class / SetDefaultSelectionFillColor Method
The default selection fill color.

In This Topic
    SetDefaultSelectionFillColor Method
    In This Topic
    Sets the default selection fill color. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public static void SetDefaultSelectionFillColor( 
       CIMColor color
    )
    Public Shared Sub SetDefaultSelectionFillColor( _
       ByVal color As CIMColor _
    ) 

    Parameters

    color
    The default selection fill color.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    The selection fill color is applied to polygon interiors. Set to null to remove the fill color. Note: a transparency/opacity of 40% (Alpha = 40.0%) is applied to the selection fill color unless its Alpha is already less (i.e more transparent).
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also