ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / DiscreteColorizerDefinition Class / DiscreteColorizerDefinition Constructor / DiscreteColorizerDefinition Constructor(Int32,CIMColorRamp)
The number of color breaks.
(Optional) The color ramp. (default value = null)

In This Topic
    DiscreteColorizerDefinition Constructor(Int32,CIMColorRamp)
    In This Topic
    Creates a Discrete colorizer definition with parameters.
    Syntax
    public DiscreteColorizerDefinition( 
       int numberOfColors,
       CIMColorRamp colorRamp
    )
    Public Function New( _
       ByVal numberOfColors As Integer, _
       Optional ByVal colorRamp As CIMColorRamp _
    )

    Parameters

    numberOfColors
    The number of color breaks.
    colorRamp
    (Optional) The color ramp. (default value = null)
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also