Table of Contents

Class VmlGradiantColor

Namespace
OfficeOpenXml.Drawing.Vml
Assembly
EPPlus.dll

A color used in a vml gradient list

public class VmlGradiantColor
Inheritance
VmlGradiantColor
Inherited Members

Constructors

VmlGradiantColor(double, Color)

Initialize a new in instance of VmlGradiantColor

public VmlGradiantColor(double percent, Color color)

Parameters

percent double
color Color

Exceptions

ArgumentOutOfRangeException

If the percent is not between 0 and 100

ArgumentNullException

If color is Color.Empty

Properties

Color

The color to use.

public Color Color { get; set; }

Property Value

Color

Percent

Percent position to insert the color. Range from 0-100

public double Percent { get; set; }

Property Value

double