TextEffectFormat object (Publisher)
Contains properties and methods that apply to WordArt objects.
Use the TextEffect property of the Shape or ShapeRange object to return a TextEffectFormat object.
The following example sets the font name and formatting for shape one on the first page of the active publication. For this example to work, shape one must be a WordArt object.
Sub FormatWordArt()
With ActiveDocument.Pages(1).Shapes(1).TextEffect
.FontName = "Courier New"
.FontBold = MsoTrue
.FontItalic = MsoTrue
End With
End Sub
- Alignment
- Application
- FontBold
- FontItalic
- FontName
- FontSize
- KernedPairs
- NormalizedHeight
- Parent
- PresetShape
- PresetTextEffect
- PresetWordArt
- RotatedChars
- Text
- Tracking
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.