ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ISymbolFactory Interface / ConstructGradientFill Method / ConstructGradientFill(CIMColor,CIMColor,GradientFillMethod,Int32) Method
ArcGIS.Core.CIM.CIMColor
ArcGIS.Core.CIM.CIMColor
ArcGIS.Core.CIM.GradientFillMethod. The default value is ArcGIS.Core.CIM.GradientFillMethod.Buffered
The interval.

In This Topic
    ConstructGradientFill(CIMColor,CIMColor,GradientFillMethod,Int32) Method
    In This Topic
    Constructs a gradient fill between two colors using the specified gradient fill method.
    Syntax
    Overloads Function ConstructGradientFill( _
       ByVal color1 As CIMColor, _
       ByVal color2 As CIMColor, _
       Optional ByVal gradientFillMethod As GradientFillMethod, _
       Optional ByVal interval As Integer _
    ) As CIMFill

    Parameters

    color1
    ArcGIS.Core.CIM.CIMColor
    color2
    ArcGIS.Core.CIM.CIMColor
    gradientFillMethod
    ArcGIS.Core.CIM.GradientFillMethod. The default value is ArcGIS.Core.CIM.GradientFillMethod.Buffered
    interval
    The interval.

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also