ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMColor Class / CreateGrayColor Method
Gray level
Alpha

In This Topic
    CreateGrayColor Method
    In This Topic
    Creates a new gray color from input parameters.
    Syntax
    public static CIMColor CreateGrayColor( 
       double l,
       double alpha
    )
    Public Shared Function CreateGrayColor( _
       ByVal l As Double, _
       Optional ByVal alpha As Double _
    ) As CIMColor

    Parameters

    l
    Gray level
    alpha
    Alpha

    Return Value

    A Gray color
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also