Back to Devexpress

TdxRichEditUnderlineType Enum

vcl-dxrichedit-dot-nativeapi-d0715153.md

latest4.5 KB
Original Source

TdxRichEditUnderlineType Enum

Enumerates available underline styles.

Declaration

delphi
TdxRichEditUnderlineType = (
    None = 0,
    Single = 1,
    Dotted = 2,
    Dashed = 3,
    DashDotted = 4,
    DashDotDotted = 5,
    Double = 6,
    HeavyWave = 7,
    LongDashed = 8,
    ThickSingle = 9,
    ThickDotted = 10,
    ThickDashed = 11,
    ThickDashDotted = 12,
    ThickDashDotDotted = 13,
    ThickLongDashed = 14,
    DoubleWave = 15,
    Wave = 16,
    DashSmallGap = 17
);

Members

Name
None
Single
Dotted
Dashed
DashDotted
DashDotDotted
Double
HeavyWave
LongDashed
ThickSingle
ThickDotted
ThickDashed
ThickDashDotted
ThickDashDotDotted
ThickLongDashed
DoubleWave
Wave
DashSmallGap

Remarks

Options include:

ValueDescriptionExample
NoneText has no underline.
SingleA single solid underline. The ToggleFontUnderline end-user command and the Ctrl+U key combination toggle this font attribute for the selected text.
DottedAn ordinary dotted underline.
DashedAn ordinary dashed underline.
DashDottedAn ordinary dash-dotted underline.
DashDotDottedAn ordinary dash-dot-dotted underline.
DoubleA double solid underline. The ToggleFontDoubleUnderline end-user command toggles this font attribute for the selected text.
HeavyWaveA heavy wave underline.
LongDashedAn ordinary long-dashed underline.
ThickSingleA thick single solid underline.
ThickDottedA thick dotted underline.
ThickDashedA thick dashed underline.
ThickDashDottedA thick dash-dotted underline.
ThickDashDotDottedA thick dash-dot-dotted underline.
ThickLongDashedA thick long-dashed underline.
DoubleWaveA double wave underline.
WaveA single wave underline.
DashSmallGapA single dashed line with small gaps.

The IdxRichEditCharacterPropertiesBase interface’s Underline property references the TdxRichEditUnderlineType type.

Note

TdxRichEditUnderlineType 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 TdxRichEditUnderlineType.DoubleWave (in Delphi) or TdxRichEditUnderlineType::DoubleWave (in C++Builder) to refer to the DoubleWave value in code.

See Also

dxRichEdit.NativeApi Unit