Class GradientArrayWrapper
Summary description for GradientArrayWrapper.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 | Description |
|---|---|
| System.Drawing.Color |
BackColorIndex
Represents background color index.
Declaration
public ExcelKnownColors BackColorIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelKnownColors |
BackColorObject
Represents background color.
Declaration
public ColorObject BackColorObject { get; }
Property Value
| Type | Description |
|---|---|
| ColorObject |
ForeColor
Represents foreground color.
Declaration
public Color ForeColor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color |
ForeColorIndex
Represents foreground color index.
Declaration
public ExcelKnownColors ForeColorIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelKnownColors |
ForeColorObject
Represents foreground color.
Declaration
public ColorObject ForeColorObject { get; }
Property Value
| Type | Description |
|---|---|
| ColorObject |
GradientStyle
Represents gradient shading style.
Declaration
public ExcelGradientStyle GradientStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelGradientStyle |
GradientVariant
Represents gradient shading variant.
Declaration
public ExcelGradientVariants GradientVariant { get; set; }
Property Value
| Type | Description |
|---|---|
| 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