ArcGIS Pro 2.7 API Reference Guide
ConstructColorRamp(ColorRampAlgorithm) Method

ArcGIS.Desktop.Mapping Namespace > ColorFactory Class > ConstructColorRamp Method : ConstructColorRamp(ColorRampAlgorithm) Method
ColorRampAlgorithm
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 10, Windows 8.1

See Also

Reference

ColorFactory Class
ColorFactory Members
Overload List