Class ExcelThemeFontCollection¶
Namespace: OfficeOpenXml.Drawing.Theme
Assembly: EPPlus.dll
A collection of fonts in a theme
Inheritance¶
object ← XmlHelper ← ExcelThemeFontCollection
Implements¶
IEnumerable
IEnumerable<ExcelDrawingFontBase>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Count¶
Number of items in the collection
Property Value¶
this[int]¶
The collection index
Property Value¶
Methods¶
Add(string, string)¶
Adds a normal font to the collection
Parameters¶
typeface string
The typeface, or name of the font
script string
The script, or language, in which the typeface is supposed to be used
Returns¶
The font
AddSpecialFont(eFontType, string)¶
Adds a special font to the fonts collection
Parameters¶
type eFontType
The font type
typeface string
The typeface, or name of the font
Returns¶
The font
GetEnumerator()¶
Gets an enumerator for the collection
Returns¶
IEnumerator<ExcelDrawingFontBase>
The enumerator
Remove(ExcelDrawingFontBase)¶
Removes the item from the collection
Parameters¶
item ExcelDrawingFontBase
The item to remove
RemoveAt(int)¶
Removes the item from the collection
Parameters¶
index int
The index of the item to remove
SetComplexFont(string)¶
Set the complex font of the collection
Parameters¶
typeface string
The typeface, or name of the font
SetEastAsianFont(string)¶
Set the East Asian font of the collection
Parameters¶
typeface string
The typeface, or name of the font
SetLatinFont(string)¶
Set the latin font of the collection
Parameters¶
typeface string
The typeface, or name of the font