ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SymbolFactory Class / 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. Either of the colors can be ArcGIS.Core.CIM.CIMColor.NoColor to allow the gradient to fade to or from transparency.
    Syntax
    Public 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