Class ExcelDxfFont
A font in a differential formatting record
Inherited Members
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 |
|---|---|
| bool? |
Extend
Extends or stretches the text. Legacy property used in older speadsheet applications.
Declaration
public bool? Extend { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Family
Font family
Declaration
public int? Family { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
HasValue
If the object has any properties set
Declaration
public override bool HasValue { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Name
The name of the font
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| bool? |
Scheme
Which font scheme to use from the theme
Declaration
public eThemeFontCollectionType? Scheme { get; set; }
Property Value
| Type | Description |
|---|---|
| eThemeFontCollectionType? |
Shadow
Shadow for the font. Used on Macintosh only.
Declaration
public bool? Shadow { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Size
The font size
Declaration
public float? Size { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
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()