rvico TRichView Reference | TRVStyle | TCustomRVFontInfo


Top  Previous  Next

Specifies the style of underline.


  TRVUnderlineType = (rvutNormal, rvutThick, rvutDouble,

    rvutDotted, rvutThickDotted,

    rvutDashed, rvutThickDashed,

    rvutLongDashed, rvutThickLongDashed,

    rvutDashDotted, rvutThickDashDotted,

    rvutDashDotDotted, rvutThickDashDotDotted);

property UnderlineType: TRVUnderlineType;

(introduced in version 10)

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

By default, underline color is defined in Color property, but it can be altered by UnderlineColor property (see also HoverColor/HoverUnderlineColor for hyperlink colors under the mouse pointer).


UnderlineType Example

UnderlineType Example

RTF Note:

This attribute can be saved and loaded in RTF files.

HTML Note:

Custom underlines are not supported in HTML and CSS.

SaveHTML ignores this attribute. SaveHTMLEx saves custom underline as a bottom border side of the text's <span> element (single, double, dotted and dashed lines are supported).

Default value:


TRichView © trichview.com