TdxRichEditUnderlineType Enum
Enumerates available underline styles.
Declaration
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:
Value | Description | Example |
---|---|---|
None | Text has no underline. | |
Single | A single solid underline. The ToggleFontUnderline end-user command and the Ctrl+U key combination toggle this font attribute for the selected text. | |
Dotted | An ordinary dotted underline. | |
Dashed | An ordinary dashed underline. | |
DashDotted | An ordinary dash-dotted underline. | |
DashDotDotted | An ordinary dash-dot-dotted underline. | |
Double | A double solid underline. The ToggleFontDoubleUnderline end-user command toggles this font attribute for the selected text. | |
HeavyWave | A heavy wave underline. | |
LongDashed | An ordinary long-dashed underline. | |
ThickSingle | A thick single solid underline. | |
ThickDotted | A thick dotted underline. | |
ThickDashed | A thick dashed underline. | |
ThickDashDotted | A thick dash-dotted underline. | |
ThickDashDotDotted | A thick dash-dot-dotted underline. | |
ThickLongDashed | A thick long-dashed underline. | |
DoubleWave | A double wave underline. | |
Wave | A single wave underline. | |
DashSmallGap | A 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