Syntax
DoubleUnderline [On]
DoubleUnderline()
Remarks
The DoubleUnderline statement adds or removes the double-underline character format for the selected text, or controls double-underline formatting for characters to be inserted at the insertion point.
Argument | Explanation | |
On | Specifies whether to add or remove the double-underline format: 1 Formats the selection with the double-underline format 0 (zero) Removes the double-underline format Omitted Toggles the double-underline format |
The DoubleUnderline() function returns the following values.
Value | Explanation | |
0 (zero) | If none of the selection is in the double-underline format | |
–1 | If part of the selection is in the double-underline format | |
1 | If all the selection is in the double-underline format |
See Also
DottedUnderline, FormatBordersAndShading, FormatFont, Underline