TCustomRVFontInfo.UnderlineType

<< Click to display table of contents >>

TCustomRVFontInfo.UnderlineType

Specifies the style of underline.

type

  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).

Sample:

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 without CSS, so TRichView.HTMLSaveProperties.HTMLSavingType must be rvhtmlstNormal, otherwise this attribute will be ignored. TRichView saves custom underline as a bottom border side of the text's <span> element.

Default value:

rvutNormal