SpreadGradientFill
Class
Gradient cell fill defined by a gradient type and two theme or RGB colors.
Definition
Namespace:Telerik.Documents.SpreadsheetStreaming
Assembly:Telerik.Documents.SpreadsheetStreaming.dll
Syntax:
C#
public class SpreadGradientFill : ISpreadFill
Inheritance: objectSpreadGradientFill
Implements:
Constructors
Initializes a new instance of the SpreadGradientFill class.
C#
public SpreadGradientFill(SpreadGradientType gradientType, SpreadThemableColor color1, SpreadThemableColor color2)
Type of the gradient.
color1SpreadThemableColorThe color1 themable color.
color2SpreadThemableColorThe color2 themable color.
Properties
Starting gradient color.
C#
public SpreadThemableColor Color1 { get; }
The color1 themable color.
Ending gradient color.
C#
public SpreadThemableColor Color2 { get; }
The color2 themable color.
Gradient orientation or pattern.
C#
public SpreadGradientType GradientType { get; }
The type of the gradient.