Show / Hide Table of Contents

Class ExcelFontXml

Xml access class for fonts

Inheritance
System.Object
XmlHelper
StyleXmlHelper
ExcelFontXml
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Data.OfficeOpenXml.Style.XmlAccess
Assembly: Experior.Core.dll
Syntax
public sealed class ExcelFontXml : StyleXmlHelper

Properties

Bold

If the font is bold

Declaration
public bool Bold { get; set; }
Property Value
Type Description
System.Boolean

Color

TextBlock color

Declaration
public ExcelColorXml Color { get; }
Property Value
Type Description
ExcelColorXml

Family

Font family

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

Italic

If the font is italic

Declaration
public bool Italic { get; set; }
Property Value
Type Description
System.Boolean

Name

The name of the font

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

Scheme

Font Scheme

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

Size

Font size

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

Strike

If the font is striked out

Declaration
public bool Strike { get; set; }
Property Value
Type Description
System.Boolean

UnderLine

If the font is underlined. When set to true a the text is underlined with a single line

Declaration
public bool UnderLine { get; set; }
Property Value
Type Description
System.Boolean

UnderLineType

If the font is underlined

Declaration
public ExcelUnderLineType UnderLineType { get; set; }
Property Value
Type Description
ExcelUnderLineType

VerticalAlign

Vertical aligned

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

Methods

SetFromFont(Font)

Declaration
public void SetFromFont(Font Font)
Parameters
Type Name Description
System.Drawing.Font Font
Back to top Generated by DocFX