Skip to content

Class ExcelVmlDrawingColor

Namespace: OfficeOpenXml.Drawing.Vml
Assembly: EPPlus.dll

Represents a color in a vml.

public class ExcelVmlDrawingColor : XmlHelper

Inheritance

object ← XmlHelper ← ExcelVmlDrawingColor

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

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