Font

Overview

Font is a class in Aspose.Cells FOSS for Python.

Represents font settings for a cell or range of cells.

Properties

NameTypeAccessDescription
name``ReadGets or sets the typeface name of the font (e.g., ‘Arial’)
size``ReadGets or sets the font size in points
color``ReadGets or sets the font color as a hex string (e.g., ‘#FF0000’)
bold``ReadGets or sets a boolean indicating whether the font is bold
italic``Read
underline``Read
strikethrough``ReadGets or sets a boolean indicating whether the font has a strikethrough

Methods

SignatureDescription
__init__(name, size, color, bold, italic, underline, strikethrough)Initializes a new instance of the Font class.

See Also