Show / Hide Table of Contents

Class ExcelDxfFont

A font in a differential formatting record

Inheritance
System.Object
DxfStyleBase
ExcelDxfFontBase
ExcelDxfFont
Inherited Members
ExcelDxfFontBase.Bold
ExcelDxfFontBase.Italic
ExcelDxfFontBase.Strike
ExcelDxfFontBase.Color
ExcelDxfFontBase.Underline
DxfStyleBase.SetValueColor(XmlHelper, String, ExcelDxfColor)
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.Style.Dxf
Assembly: EPPlus.dll
Syntax
public class ExcelDxfFont : ExcelDxfFontBase

Properties

Condense

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

Declaration
public bool? Condense { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Extend

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

Declaration
public bool? Extend { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Family

Font family

Declaration
public int? Family { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

HasValue

If the object has any properties set

Declaration
public override bool HasValue { get; }
Property Value
Type Description
System.Boolean
Overrides
ExcelDxfFontBase.HasValue

Name

The name of the font

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Outline

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

Declaration
public bool? Outline { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Scheme

Which font scheme to use from the theme

Declaration
public eThemeFontCollectionType? Scheme { get; set; }
Property Value
Type Description
System.Nullable<eThemeFontCollectionType>

Shadow

Shadow for the font. Used on Macintosh only.

Declaration
public bool? Shadow { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Size

The font size

Declaration
public float? Size { get; set; }
Property Value
Type Description
System.Nullable<System.Single>

VerticalAlign

Font-Vertical Align

Declaration
public ExcelVerticalAlignmentFont VerticalAlign { get; set; }
Property Value
Type Description
ExcelVerticalAlignmentFont

Methods

Clear()

Clears all properties

Declaration
public override void Clear()
Overrides
ExcelDxfFontBase.Clear()
In This Article
Back to top Generated by DocFX