expression.Tracking
expression Required. An expression that returns a TextEffectFormat object.
Remarks
The following table gives the values of the Tracking property that correspond to the settings available in the user interface.
User interface setting | Equivalent Tracking property value |
---|---|
Very Tight | 0.8 |
Tight | 0.9 |
Normal | 1.0 |
Loose | 1.2 |
Very Loose | 1.5 |
Example
This example adds WordArt that contains the text "Test" to the active document and specifies that the characters be very tightly spaced.
Set newWordArt = ActiveDocument.Shapes.AddTextEffect( _
PresetTextEffect:=msoTextEffect1, Text:="Test", _
FontName:="Arial Black", FontSize:=36, FontBold:=False, _
FontItalic:=False, Left:=100, Top:=100)
newWordArt.TextEffect.Tracking = 0.8