TextEffectFormat

TextEffectFormat class

Contains properties and methods that apply to WordArt objects.

Properties

NameTypeDescription
TextStringThe text in the WordArt.
FontNameStringThe name of the font used in the WordArt.
FontBoldbooleanIndicates whether font is bold.
FontItalicbooleanIndicates whether font is italic.
RotatedCharsbooleanIf true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt’s bounding shape.
FontSizeintThe size (in points) of the font used in the WordArt.
PresetShapeintGets and sets the preset shape type. The value of the property is MsoPresetTextEffectShape integer constant.

Methods

NameDescription
setTextEffectSets the preset text effect.

TextEffectFormat.Text property

The text in the WordArt.

Type: String

TextEffectFormat.FontName property

The name of the font used in the WordArt.

Type: String

TextEffectFormat.FontBold property

Indicates whether font is bold.

Type: boolean

TextEffectFormat.FontItalic property

Indicates whether font is italic.

Type: boolean

TextEffectFormat.RotatedChars property

If true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt’s bounding shape.

Type: boolean

TextEffectFormat.FontSize property

The size (in points) of the font used in the WordArt.

Type: int

TextEffectFormat.PresetShape property

Gets and sets the preset shape type. The value of the property is MsoPresetTextEffectShape integer constant.

Type: int

setTextEffect(effect)

Sets the preset text effect.

ParameterTypeDescription
effectintA MsoPresetTextEffect value. The preset text effect.