Class TextEffectFormat (Word VBA)

Contains properties and methods that apply to WordArt objects.

The classes InlineShape and Shape. give access to class TextEffectFormat


Dim tef as TextEffectFormat
Set tef = ActiveDocument.Background.TextEffect

Methods

ToggleVerticalText - Switches the text flow in the specified WordArt from horizontal to vertical, or vice versa.

Properties

Alignment returns or sets an MsoTextEffectAlignment constant that represents the alignment for the specified text effect.

FontBold sets the font to bold for the specified Word Art shape.

FontItalic italicizes WordArt text.

FontName returns or sets the name of the font for the dropped capital letter.

FontSize returns or sets the font size for the specified WordArt, in points.

KernedPairs indicates that character pairs in a WordArt object have been kerned.

NormalizedHeight msoTrue if all characters (both uppercase and lowercase) in the specified WordArt are the same height.

PresetShape returns or sets the shape of the specified WordArt.

PresetTextEffect returns or sets the style of the specified WordArt. The values for this property correspond to the formats in the WordArt Gallery dialog box (Insert menu), numbered from left to right, top to bottom.

RotatedChars msoTrue if characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape. MsoFalse if characters in the specified WordArt retain their original orientation relative to the bounding shape.

Text returns or sets the text in the specified object.

Tracking returns or sets the ratio of the horizontal space allotted to each character in the specified WordArt in relation to the width of the character.