Class ExcelVmlDrawingGradientFill
Fill settings for a vml gradient fill
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: OfficeOpenXml.Drawing.Vml
Assembly: EPPlus.dll
Syntax
public class ExcelVmlDrawingGradientFill : XmlHelper
Properties
Angle
Gradient angle
Declaration
public double? Angle { get; set; }
Property Value
Type | Description |
---|---|
System. |
ColorsString
A semicolon separated list of colors used for gradient fill.
Each color item starts with a percent and a color. Starting from 0% and ending and 100%.
Use Set
Declaration
public string ColorsString { get; set; }
Property Value
Type | Description |
---|---|
System. |
Focus
Gradient center
Declaration
public double? Focus { get; set; }
Property Value
Type | Description |
---|---|
System. |
Method
Gradient method
Declaration
public eVmlGradientMethod Method { get; set; }
Property Value
Type | Description |
---|---|
e |
Methods
SetGradientColors(VmlGradiantColor[])
Sets the Colors
Declaration
public void SetGradientColors(params VmlGradiantColor[] colors)
Parameters
Type | Name | Description |
---|---|---|
Vml |
colors | The colors with a percent value for the gradient fill |