Show / Hide Table of Contents

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
ArgumentOutOfRangeException

If the percent is not between 0 and 100

ArgumentNullException

If color is Color.Empty

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
In this article
Back to top Generated by DocFX