ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ColorFactory Class / ConstructColorRamp Method / ConstructColorRamp(ColorRampAlgorithm) Method
ColorRampAlgorithm

In This Topic
    ConstructColorRamp(ColorRampAlgorithm) Method
    In This Topic
    Construct a color ramp using the specified algorithm. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public CIMColorRamp ConstructColorRamp( 
       ColorRampAlgorithm algorithm
    )
    Public Overloads Function ConstructColorRamp( _
       ByVal algorithm As ColorRampAlgorithm _
    ) As CIMColorRamp

    Parameters

    algorithm
    ColorRampAlgorithm

    Return Value

    CIMColorRamp
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also