rvico TRichView Reference | TRVStyle | TCustomRVFontInfo

TCustomRVFontInfo.UnderlineColor

Top  Previous  Next

Specifies underline color.

property UnderlineColor: TColor;

(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=clNone, text color is used for underline (Color in normal state, HoverColor for hyperlinks under the mouse pointer).

Values other than clNone 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 and CSS.

SaveHTML ignores this attribute. SaveHTMLEx saves colored underline as a bottom border side of the text's <span> element.

Default value:

clNone

See also:

UnderlineType.


TRichView © trichview.com