Class VmlGradiantColor
A color used in a vml gradient list
Inheritance
System.Object
    VmlGradiantColor
  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 VmlGradiantColor
  Constructors
VmlGradiantColor(Double, Color)
Initialize a new in instance of VmlGradiantColor
Declaration
public VmlGradiantColor(double percent, Color color)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | percent | |
| System.Drawing.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 | 
|---|---|
| System.Drawing.Color | 
Percent
Percent position to insert the color. Range from 0-100
Declaration
public double Percent { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Double |