GradientArrayWrapper Class
Summary description for GradientArrayWrapper.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class GradientArrayWrapper : CommonObject, IParentApplication, IDisposable, IGradient
Constructors
GradientArrayWrapper(IRange)
Create new instance of object.
Declaration
public GradientArrayWrapper(IRange range)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | Base range. |
Properties
BackColor
Represents background color.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BackColorIndex
Represents background color index.
Declaration
public ExcelKnownColors BackColorIndex { get; set; }
Property Value
Type |
---|
ExcelKnownColors |
BackColorObject
Represents background color.
Declaration
public ColorObject BackColorObject { get; }
Property Value
Type |
---|
ColorObject |
ForeColor
Represents foreground color.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ForeColorIndex
Represents foreground color index.
Declaration
public ExcelKnownColors ForeColorIndex { get; set; }
Property Value
Type |
---|
ExcelKnownColors |
ForeColorObject
Represents foreground color.
Declaration
public ColorObject ForeColorObject { get; }
Property Value
Type |
---|
ColorObject |
GradientStyle
Represents gradient shading style.
Declaration
public ExcelGradientStyle GradientStyle { get; set; }
Property Value
Type |
---|
ExcelGradientStyle |
GradientVariant
Represents gradient shading variant.
Declaration
public ExcelGradientVariants GradientVariant { get; set; }
Property Value
Type |
---|
ExcelGradientVariants |
Methods
BeginUpdate()
This method should be called before several updates to the object will take place.
Declaration
public void BeginUpdate()
CompareTo(IGradient)
Compares with shape fill impl.
Declaration
public int CompareTo(IGradient gradient)
Parameters
Type | Name | Description |
---|---|---|
IGradient | gradient | Gradient to compare with. |
Returns
Type | Description |
---|---|
System.Int32 | Zero if shape fills are equal. |
EndUpdate()
This method should be called after several updates to the object took place.
Declaration
public void EndUpdate()
TwoColorGradient()
Sets the specified fill to a two-color gradient.
Declaration
public void TwoColorGradient()
TwoColorGradient(ExcelGradientStyle, ExcelGradientVariants)
Sets the specified fill to a two-color gradient.
Declaration
public void TwoColorGradient(ExcelGradientStyle style, ExcelGradientVariants variant)
Parameters
Type | Name | Description |
---|---|---|
ExcelGradientStyle | style | Represents shading shading style. |
ExcelGradientVariants | variant | Represents shading variant. |
Implements
System.IDisposable