GradientFill Class

Represents the gradient fill.
Inheritance Hierarchy

Namespace:  Aspose.Cells.Drawing
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public class GradientFill : Fill

The GradientFill type exposes the following members.

Properties
  NameDescription
Public propertyAngle
The angle of linear fill.
Public propertyDirectionType
Gets the gradient direction type.
Public propertyFillType
Gets the gradient fill type.
Public propertyGradientStops
Represents the gradient stop collection.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetGradient
Set the gradient fill type and direction.
Public methodSetOneColorGradient
Sets the specified fill to a one-color gradient. Only applies for Excel 2007.
Public methodSetTwoColorGradient(Color, Color, GradientStyleType, Int32)
Sets the specified fill to a two-color gradient. Only applies for Excel 2007.
Public methodSetTwoColorGradient(Color, Double, Color, Double, GradientStyleType, Int32)
Sets the specified fill to a two-color gradient. Only applies for Excel 2007.
Public methodToString (Inherited from Object.)
See Also