TCustomRVFontInfo.UnderlineColor

<< Click to display table of contents >>

TCustomRVFontInfo.UnderlineColor

Specifies underline color.

property UnderlineColor: TRVColor;

(introduced in version 10)

Underline is displayed only if fsUnderline is included in Style (or rvheUnderline is included HoverEffects, under the mouse pointer).

If UnderlineColor=rvclNone, text color is used for underline (Color in normal state, HoverColor for hyperlinks under the mouse pointer).

Values other than rvclNone define underline color. HoverUnderlineColor property may change hyperlink color under the mouse pointer.

RTF Note:

This attribute can be saved and loaded in RTF files.

HTML Note:

Colored underlines are not supported in HTML without CSS, so TRichView.HTMLSaveProperties.HTMLSavingType must be rvhtmlstNormal, otherwise this attribute will be ignored. TRichView saves colored underline as a bottom border side of the text's <span> element.

Default value:

rvclNone

See also:

UnderlineType.