public final class RichTextFontStyles
extends com.aspose.ms.System.Enum
Options for styling text fragments in RichText.
Modifier and Type | Field and Description |
---|---|
static int |
Bold
Option that specifies bold.
|
static int |
ClearExisting
If set, clears all existing styles before applying additional ones.
|
static int |
Italic
Option that specifies italic.
|
static int |
Underline
Option that specifies underline.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
hasFlag(int flag,
int flagToCheck)
Checks whether the specified flag is set.
|
public static final int ClearExisting
If set, clears all existing styles before applying additional ones.
When combined with other style flags (e.g., RichTextFontStyles#Bold
),
it first resets the styles, then applies the specified ones.
Without this flag, new styles are added to the existing ones.
public static final int Bold
Option that specifies bold.
public static final int Italic
Option that specifies italic.
public static final int Underline
Option that specifies underline.
Copyright © 2025 Aspose. All Rights Reserved.