AddTabStop Method

Adds a tab stop and returns a reference to it.

Applies to: TextBlock object

Syntax

[[Set] ret = ] object.AddTabStop ()

The AddTabStop method syntax has these parts:

Part Description
object A reference to an instance of the object.
ret A TabStop type variable

 

Example

This example demonstrates how a tab stop can be added to a shape. It assumes the active page contains a shape with the ID 1, and the shape contains text.

Dim s as Shape, MyTabStop as TabStop

s = thisDoc.ActivePage.ShapeByID(1)
Set MyTabStop = s.TextBlock.TabStop(1)

 

See Also

RemoveTabStop method, TabStop method, TabStopsNum method, TabStop object