ItalicRun Method

Microsoft Word Visual Basic

Show All

ItalicRun Method

       

Adds the italic character format to or removes it from the current run. If the run contains a mix of italic and non-italic text, this method adds the italic character format to the entire run.

expression.ItalicRun

expression   Required. An expression that returns a Selection object.

Remarks

For more information on using Microsoft Word with right-to-left languages, see Word features for right-to-left languages.

Example

This example toggles the italic formatting for the current selection.

Selection.ItalicRun