ExcelFont module

class ExcelFont.ExcelFont

Bases: SpireObject, IFont

BeginUpdate()
property Color: Color
<summary>

Returns or sets the primary color of the font.

</summary>

EndUpdate()
property FontName: str
<summary>

Returns or sets the font name. Read / write string.

</summary>

GenerateNativeFont() Font
<summary>

Generates system font object.

</summary> <returns>Font object.</returns>

property IsAutoColor: bool
<summary>

Indicates whether color is automatically selected. Read-only.

</summary>

property IsBold: bool
<summary>

True if the font is bold.

</summary>

property IsItalic: bool
<summary>

True if the font style is italic. Read / write Boolean.

</summary>

property IsStrikethrough: bool
<summary>
True if the font is struck through with a horizontal line.

Read / write Boolean

</summary>

property IsSubscript: bool
<summary>
True if the font is formatted as subscript.

False by default. Read / write Boolean.

</summary>

property IsSuperscript: bool
<summary>
True if the font is formatted as superscript. False by default.

Read/write Boolean

</summary>

property KnownColor: ExcelColors
<summary>

Returns or sets the primary excel color of the object.

</summary>

property Parent: SpireObject
SetThemeColor(type: ThemeColorType, tint: float)
<summary>

Set the theme color.

</summary> <param name=”type”>theme color type</param> <param name=”tint”></param>

property Size: float
<summary>

Returns or sets the size of the font. Read / write integer.

</summary>

property StrikethroughType: str
property Underline: FontUnderlineType
<summary>

Returns or sets the type of underline applied to the font.

</summary>

property VerticalAlignment: FontVertialAlignmentType