Table of Contents

Class ExcelVmlDrawingColor

Namespace
OfficeOpenXml.Drawing.Vml
Assembly
EPPlus.dll

Represents a color in a vml.

public class ExcelVmlDrawingColor : XmlHelper
Inheritance
ExcelVmlDrawingColor
Inherited Members

Properties

ColorString

A color string representing a color. Uses the HTML 4.0 color names, rgb decimal triplets or rgb hex triplets Example: ColorString = "rgb(200,100, 0)" ColorString = "#FF0000" ColorString = "Red" ColorString = "#345" //This is the same as #334455

public string ColorString { get; set; }

Property Value

string

Methods

GetColor()

Gets the color for the color string

public Color GetColor()

Returns

Color

SetColor(Color)

Sets the Color string with the color supplied.

public void SetColor(Color color)

Parameters

color Color