Font
Overview
Font is a class in Aspose.Words FOSS for Python.
Inherits from: BaseModel.
Font.name stores the font family name as a string.
Properties: all_caps, bold, color, emboss, emphasis_mark, engrave, and 17 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | Read | Gets the name. |
size | float | Read | Gets the size. |
bold | bool | Read | Gets the bold. |
italic | bool | Read | Gets the italic. |
underline | int | Read | Gets the underline. |
color | str | Read | Gets the color. |
strike_through | bool | Read | Gets the strike through. |
superscript | bool | Read | Gets the superscript. |
subscript | bool | Read | Gets the subscript. |
highlight_color | str | Read | Gets the highlight color. |
all_caps | bool | Read | Gets the all caps. |
small_caps | bool | Read | Gets the small caps. |
hidden | bool | Read | Gets the hidden. |
style_name | str | Read | Gets the style name. |
style_identifier | int | Read | Gets the style identifier. |
shading | Shading | Read | Gets the shading. |
emboss | bool | Read | Gets the emboss. |
engrave | bool | Read | Gets the engrave. |
outline | bool | Read | Gets the outline. |
shadow | bool | Read | Gets the shadow. |
emphasis_mark | int | Read | Gets the emphasis mark. |
text_effect | int | Read | Gets the text effect. |
kerning | float | Read | Gets the kerning. |