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