## RichTextFontStyles enum


Options for styling text fragments in RichText.

```cpp
enum class RichTextFontStyles
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| ClearExisting | 1 | If set, clears all existing styles before applying additional ones. When combined with other style flags (e.g., [Bold](./)), it first resets the styles, then applies the specified ones. Without this flag, new styles are added to the existing ones. |
| Bold | 2 | Option that specifies bold. |
| Italic | 4 | Option that specifies italic. |
| Underline | 8 | Option that specifies underline. |

## See Also

* Namespace [Aspose::Pdf::Annotations](../)
* Library [Aspose.PDF for C++](../../)
