Table of Contents

Class ExcelFontXml

Namespace
OfficeOpenXml.Style.XmlAccess
Assembly
Magicodes.EPPlus.dll
public sealed class ExcelFontXml : StyleXmlHelper
Inheritance
ExcelFontXml
Inherited Members
Extension Methods

Properties

Bold

public bool Bold { get; set; }

Property Value

bool

Color

public ExcelColorXml Color { get; }

Property Value

ExcelColorXml

Family

public int Family { get; set; }

Property Value

int

Italic

public bool Italic { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Scheme

public string Scheme { get; }

Property Value

string

Size

public float Size { get; set; }

Property Value

float

Strike

public bool Strike { get; set; }

Property Value

bool

UnderLine

public bool UnderLine { get; set; }

Property Value

bool

UnderLineType

public ExcelUnderLineType UnderLineType { get; set; }

Property Value

ExcelUnderLineType

VerticalAlign

public string VerticalAlign { get; set; }

Property Value

string

Methods

GetFontHeight(string, float)

public static float GetFontHeight(string name, float size)

Parameters

name string
size float

Returns

float

SetFromFont(Font)

public void SetFromFont(Font Font)

Parameters

Font Font