
## TextStyle class

Change the visual style of the text for an item in the project view.

The TextStyle type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|TextStyle()|Initializes a new instance of the [TextStyle](/tasks/python-net/aspose.tasks.visualization/textstyle/) class with default settings.|
|TextStyle(font_size, font_style)|Initializes a new instance of the TextStyle class|
|TextStyle(font_style)|Initializes a new instance of the [TextStyle](/tasks/python-net/aspose.tasks.visualization/textstyle/) class with the default font and specified font size and style.|
|TextStyle(font)|Initializes a new instance of the [TextStyle](/tasks/python-net/aspose.tasks.visualization/textstyle/) class with the specified font settings.|
## Properties
| Name | Description |
| :- | :- |
|font|Gets or sets font of the text style.|
|color|Gets or sets color of the text.|
|item_type|Gets or sets [TextItemType](/tasks/python-net/aspose.tasks.visualization/textitemtype/) of the text style.|
|background_pattern|Gets or sets background pattern of the text style.<br/>            [background_pattern](/tasks/python-net/aspose.tasks.visualization/textstyle/).|
|background_color|Gets or sets background color of the text style.<br/>            [color](/tasks/python-net/aspose.tasks.visualization/textstyle/).|

### See Also

* namespace [aspose.tasks.visualization](/tasks/python-net/aspose.tasks.visualization/)
* assembly [Aspose.Tasks](/tasks/python-net/)

