InlineShape.TextEffect Property

Word Developer Reference

Returns a TextEffectFormat object that contains text-effect formatting properties for the specified inline shape. Read-only.

Syntax

expression.TextEffect

expression   A variable that represents an InlineShape object.

Example

This example sets the font style to bold for shape three on myDocument if the shape is WordArt.

Visual Basic for Applications
  Set myDocument = ActiveDocument
With myDocument.Shapes(3)
    If .Type = msoTextEffect Then
        .TextEffect.FontBold = True
    End If
End With

See Also