TextEffectFormat
Contents
[
Hide
]TextEffectFormat class
Contains properties and methods that apply to WordArt objects.
Properties
| Name | Type | Description |
|---|---|---|
| Text | String | The text in the WordArt. |
| FontName | String | The name of the font used in the WordArt. |
| FontBold | boolean | Indicates whether font is bold. |
| FontItalic | boolean | Indicates whether font is italic. |
| RotatedChars | boolean | If true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt’s bounding shape. |
| FontSize | Number | The size (in points) of the font used in the WordArt. |
| PresetShape | Number | Gets and sets the preset shape type. The value of the property is MsoPresetTextEffectShape integer constant. |
Methods
| Name | Description |
|---|---|
| setTextEffect | Sets 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: Number
TextEffectFormat.PresetShape property
Gets and sets the preset shape type. The value of the property is MsoPresetTextEffectShape integer constant.
Type: Number
setTextEffect(effect)
Sets the preset text effect.
| Parameter | Type | Description |
|---|---|---|
| effect | Number | A MsoPresetTextEffect value. The preset text effect. |