Class ExcelDxfFontBase
A base class for differential formatting font styles
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.Style.Dxf
Assembly: EPPlus.dll
Syntax
public class ExcelDxfFontBase : DxfStyleBase<ExcelDxfFontBase>
Properties
Bold
Font bold
Declaration
public bool? Bold { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Color
The color of the text
Declaration
public ExcelDxfColor Color { get; set; }
Property Value
Type | Description |
---|---|
ExcelDxfColor |
HasValue
If the font has a value
Declaration
protected override bool HasValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
OfficeOpenXml.Style.Dxf.DxfStyleBase<OfficeOpenXml.Style.Dxf.ExcelDxfFontBase>.HasValue
Id
The id
Declaration
protected override string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
OfficeOpenXml.Style.Dxf.DxfStyleBase<OfficeOpenXml.Style.Dxf.ExcelDxfFontBase>.Id
Italic
Font Italic
Declaration
public bool? Italic { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Strike
Font-Strikeout
Declaration
public bool? Strike { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Underline
The underline type
Declaration
public ExcelUnderLineType? Underline { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ExcelUnderLineType> |
Methods
Clone()
Clone the object
Declaration
protected override ExcelDxfFontBase Clone()
Returns
Type | Description |
---|---|
ExcelDxfFontBase | A new instance of the object |
Overrides
OfficeOpenXml.Style.Dxf.DxfStyleBase<OfficeOpenXml.Style.Dxf.ExcelDxfFontBase>.Clone()
CreateNodes(XmlHelper, String)
Creates the the xml node
Declaration
protected override void CreateNodes(XmlHelper helper, string path)
Parameters
Type | Name | Description |
---|---|---|
XmlHelper | helper | The xml helper |
System.String | path | The X Path |
Overrides
OfficeOpenXml.Style.Dxf.DxfStyleBase<OfficeOpenXml.Style.Dxf.ExcelDxfFontBase>.CreateNodes(OfficeOpenXml.XmlHelper, System.String)