DottedUnderline, DottedUnderline()

Syntax

DottedUnderline [On]

DottedUnderline()

Remarks

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

Argument

Explanation

On

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

1 Formats the selection with the dotted-underline format

0 (zero) Removes the dotted-underline format

Omitted Toggles the dotted-underline format


The DottedUnderline() function returns the following values.

Value

Explanation

0 (zero)

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

–1

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

1

If all the selection is in the dotted-underline format


See Also

DoubleUnderline, FormatBordersAndShading, FormatFont, Underline