ArcGIS Pro 2.7 API Reference Guide
DiscreteColorizerDefinition Constructor(Int32,CIMColorRamp)

ArcGIS.Desktop.Mapping Namespace > DiscreteColorizerDefinition Class > DiscreteColorizerDefinition Constructor : DiscreteColorizerDefinition Constructor(Int32,CIMColorRamp)
The number of color breaks.
(Optional) The color ramp. (default value = null)
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 10, Windows 8.1

See Also

Reference

DiscreteColorizerDefinition Class
DiscreteColorizerDefinition Members
Overload List