Class VmlGradiantColor
A color used in a vml gradient list
Inheritance
Object
VmlGradiantColor
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 |
|---|---|
| System.ArgumentOutOfRangeException | If the percent is not between 0 and 100 |
| System.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 |