Back to Devexpress

TdxRichEditUsedCharacterFormattingOption Enum

vcl-dxrichedit-dot-nativeapi-b51a755b.md

latest4.0 KB
Original Source

TdxRichEditUsedCharacterFormattingOption Enum

Enumerates character attributes.

Declaration

delphi
TdxRichEditUsedCharacterFormattingOption = (
    UseFontName,
    UseDoubleFontSize,
    UseFontBold,
    UseFontItalic,
    UseFontStrikeoutType,
    UseFontUnderlineType,
    UseAllCaps,
    UseForeColor,
    UseBackColor,
    UseUnderlineColor,
    UseStrikeoutColor,
    UseUnderlineWordsOnly,
    UseStrikeoutWordsOnly,
    UseScript,
    UseHidden,
    UseNoProof
);

Members

Name
UseFontName
UseDoubleFontSize
UseFontBold
UseFontItalic
UseFontStrikeoutType
UseFontUnderlineType
UseAllCaps
UseForeColor
UseBackColor
UseUnderlineColor
UseStrikeoutColor
UseUnderlineWordsOnly
UseStrikeoutWordsOnly
UseScript
UseHidden
UseNoProof

Remarks

Options include:

ValueDescriptionIdxRichEditCharacterPropertiesBase Property
UseFontNameThe font name character attribute.FontName
UseDoubleFontSizeThe double font size character attribute.
UseFontBoldThe Bold character attribute.Bold
UseFontItalicThe Italic character attribute.Italic
UseFontStrikeoutTypeThe font Strkeout type character attribute.Strikeout
UseFontUnderlineTypeThe font Underline character attribute.Underline
UseAllCapsThe Uppercase character attribute.AllCaps
UseForeColorThe Fore color character attribute.ForeColor
UseBackColorThe Back color character attribute.BackColor
UseUnderlineColorThe Underline color character attribute.UnderlineColor
UseStrikeoutColorThe Strikeout color character attribute.StrikeoutColor
UseUnderlineWordsOnlyThe Underline attribute applied only to printable characters.
UseStrikeoutWordsOnlyThe Strikeout attribute applied only to printable characters.
UseScriptThe Superscript or Subscript character attribute.SuperScript and SubScript
UseHiddenThe Hidden character attribute.Hidden
UseNoProofThe 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

dxRichEdit.NativeApi Unit