FontItalic Property

Microsoft Word Visual Basic

Show All

FontItalic Property

       

Italicizes WordArt text. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue

expression.FontItalic

expression   Required. An expression that returns a TextEffectFormat object.

Example

This example sets the font to italic for the shape named "WordArt 4" in the active document.

Sub ItalicizeWordArt()
    ActiveDocument.Shapes("WordArt 4") _
        .TextEffect.FontItalic = msoTrue
End Sub