Class ExcelVmlDrawingColor
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 ExcelVmlDrawingColor : XmlHelper
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
Declaration
public string ColorString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetColor()
Gets the color for the color string
Declaration
public Color GetColor()
Returns
Type | Description |
---|---|
System.Drawing.Color |
SetColor(Color)
Sets the Color string with the color supplied.
Declaration
public void SetColor(Color color)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | color |