vcl-dxrichedit-dot-nativeapi-b51a755b.md
Enumerates character attributes.
TdxRichEditUsedCharacterFormattingOption = (
UseFontName,
UseDoubleFontSize,
UseFontBold,
UseFontItalic,
UseFontStrikeoutType,
UseFontUnderlineType,
UseAllCaps,
UseForeColor,
UseBackColor,
UseUnderlineColor,
UseStrikeoutColor,
UseUnderlineWordsOnly,
UseStrikeoutWordsOnly,
UseScript,
UseHidden,
UseNoProof
);
| Name |
|---|
UseFontName |
UseDoubleFontSize |
UseFontBold |
UseFontItalic |
UseFontStrikeoutType |
UseFontUnderlineType |
UseAllCaps |
UseForeColor |
UseBackColor |
UseUnderlineColor |
UseStrikeoutColor |
UseUnderlineWordsOnly |
UseStrikeoutWordsOnly |
UseScript |
UseHidden |
UseNoProof |
Options include:
| Value | Description | IdxRichEditCharacterPropertiesBase Property |
|---|---|---|
| UseFontName | The font name character attribute. | FontName |
| UseDoubleFontSize | The double font size character attribute. | – |
| UseFontBold | The Bold character attribute. | Bold |
| UseFontItalic | The Italic character attribute. | Italic |
| UseFontStrikeoutType | The font Strkeout type character attribute. | Strikeout |
| UseFontUnderlineType | The font Underline character attribute. | Underline |
| UseAllCaps | The Uppercase character attribute. | AllCaps |
| UseForeColor | The Fore color character attribute. | ForeColor |
| UseBackColor | The Back color character attribute. | BackColor |
| UseUnderlineColor | The Underline color character attribute. | UnderlineColor |
| UseStrikeoutColor | The Strikeout color character attribute. | StrikeoutColor |
| UseUnderlineWordsOnly | The Underline attribute applied only to printable characters. | – |
| UseStrikeoutWordsOnly | The Strikeout attribute applied only to printable characters. | – |
| UseScript | The Superscript or Subscript character attribute. | SuperScript and SubScript |
| UseHidden | The Hidden character attribute. | Hidden |
| UseNoProof | The NoProof character attribute. The TdxSpellChecker component does not report any spelling or grammar errors for a text with this attribute. | – |
A TdxRichEditCharacterPropertiesMask value can contain any number of the TdxRichEditUsedCharacterFormattingOption type values in any combination.
Note
TdxRichEditUsedCharacterFormattingOption is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditUsedCharacterFormattingOption.UseFontUnderlineType (in Delphi) or TdxRichEditUsedCharacterFormattingOption::UseFontUnderlineType (in C++Builder) to refer to the UseFontUnderlineType value in code.
See Also