Font
Overview
Font is a class in Aspose.Cells FOSS for Python.
Represents font settings for a cell or range of cells.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | `` | Read | Gets or sets the typeface name of the font (e.g., ‘Arial’) |
size | `` | Read | Gets or sets the font size in points |
color | `` | Read | Gets or sets the font color as a hex string (e.g., ‘#FF0000’) |
bold | `` | Read | Gets or sets a boolean indicating whether the font is bold |
italic | `` | Read | |
underline | `` | Read | |
strikethrough | `` | Read | Gets or sets a boolean indicating whether the font has a strikethrough |
Methods
| Signature | Description |
|---|---|
__init__(name, size, color, bold, italic, underline, strikethrough) | Initializes a new instance of the Font class. |