ArcGIS Pro 2.7 API Reference Guide
CreateGrayColor Method

ArcGIS.Core.CIM Namespace > CIMColor Class : CreateGrayColor Method
Gray level
Alpha
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 10, Windows 8.1

See Also

Reference

CIMColor Class
CIMColor Members