Class VmlGradiantColor
A color used in a vml gradient list
Inherited Members
Namespace: OfficeOpenXml.Drawing.Vml
Assembly: EPPlus.dll
Syntax
public class VmlGradiantColor
Constructors
VmlGradiantColor(double, Color)
Initialize a new in instance of VmlGradiantColor
Declaration
public VmlGradiantColor(double percent, Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| double | percent | |
| Color | color |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | If the percent is not between 0 and 100 |
| ArgumentNullException | If |
Properties
Color
The color to use.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Percent
Percent position to insert the color. Range from 0-100
Declaration
public double Percent { get; set; }
Property Value
| Type | Description |
|---|---|
| double |