WordUnderline, WordUnderline()

Syntax

WordUnderline [On]

WordUnderline()

Remarks

The WordUnderline statement adds or removes the word-underline character format for the selected text, or controls word-underline formatting for characters to be inserted at the insertion point.

Argument

Explanation

On

Specifies whether to add or remove the word-underline format:

1 Formats the selection with the word-underline format.

0 (zero) Removes the word-underline format.

Omitted Toggles the word-underline format.


The WordUnderline() function returns the following values.

Value

Explanation

0 (zero)

If none of the selection is in the word-underline format

–1

If part of the selection is in the word-underline format

1

If all the selection is in the word-underline format


See Also

DottedUnderline, DoubleUnderline, FormatFont, Underline