---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/font
---

# Font

## Overview

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

Represents font settings for a cell or range of cells.

This class declares 1 method for Font objects in Python programs.
Available methods include: `__init__`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: `bold`, `color`, `italic`, `name`, `size`, `strikethrough`, and 3 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `name` | - | Read | Gets the name. |
| `size` | - | Read | Gets the size. |
| `color` | - | Read | Gets the color. |
| `bold` | - | Read | Gets the bold. |
| `italic` | - | Read | Gets the italic. |
| `underline` | - | Read | Gets the underline. |
| `strikethrough` | - | Read | Gets the strikethrough. |
| `underline_type` | - | Read | Gets the underline type. |
| `vertical_alignment` | - | Read | Gets the vertical alignment. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(name, size, color, bold, italic, underline, strikethrough, underline_type, vertical_alignment)` | Initializes a new instance of the Font class. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)