Skip to content

Class ExcelDxfFontBase

Namespace: OfficeOpenXml.Style.Dxf
Assembly: EPPlus.dll

A base class for differential formatting font styles

public class ExcelDxfFontBase : DxfStyleBase

Inheritance

object ← DxfStyleBase ← ExcelDxfFontBase

Derived

ExcelDxfFont

Inherited Members

DxfStyleBase.Clear()
DxfStyleBase.HasValue
DxfStyleBase.SetValueColor(XmlHelper, string, ExcelDxfColor)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Bold

Font bold

public bool? Bold { get; set; }

Property Value

bool?

Color

The color of the text

public ExcelDxfColor Color { get; set; }

Property Value

ExcelDxfColor

HasValue

If the object has any properties set

public override bool HasValue { get; }

Property Value

bool

Italic

Font Italic

public bool? Italic { get; set; }

Property Value

bool?

Strike

Font-Strikeout

public bool? Strike { get; set; }

Property Value

bool?

Underline

The underline type

public ExcelUnderLineType? Underline { get; set; }

Property Value

ExcelUnderLineType?

Methods

Clear()

Clears all properties

public override void Clear()