Skip to content

Class ExcelDxfFont

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

A font in a differential formatting record

public class ExcelDxfFont : ExcelDxfFontBase

Inheritance

object ← DxfStyleBase ← ExcelDxfFontBase ← ExcelDxfFont

Inherited Members

DxfStyleBase.Clear()
DxfStyleBase.HasValue
DxfStyleBase.SetValueColor(XmlHelper, string, ExcelDxfColor)
ExcelDxfFontBase.Bold
ExcelDxfFontBase.Clear()
ExcelDxfFontBase.Color
ExcelDxfFontBase.HasValue
ExcelDxfFontBase.Italic
ExcelDxfFontBase.Strike
ExcelDxfFontBase.Underline
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Condense

Condence (squeeze it together). Used on Macintosh only.

public bool? Condense { get; set; }

Property Value

bool?

Extend

Extends or stretches the text. Legacy property used in older speadsheet applications.

public bool? Extend { get; set; }

Property Value

bool?

Family

Font family

public int? Family { get; set; }

Property Value

int?

HasValue

If the object has any properties set

public override bool HasValue { get; }

Property Value

bool

Name

The name of the font

public string Name { get; set; }

Property Value

string

Outline

Displays only the inner and outer borders of each character. Similar to bold

public bool? Outline { get; set; }

Property Value

bool?

Scheme

Which font scheme to use from the theme

public eThemeFontCollectionType? Scheme { get; set; }

Property Value

eThemeFontCollectionType?

Shadow

Shadow for the font. Used on Macintosh only.

public bool? Shadow { get; set; }

Property Value

bool?

Size

The font size

public float? Size { get; set; }

Property Value

float?

VerticalAlign

Font-Vertical Align

public ExcelVerticalAlignmentFont VerticalAlign { get; set; }

Property Value

ExcelVerticalAlignmentFont

Methods

Clear()

Clears all properties

public override void Clear()