Add Method (TabStops Collection)

See Also         Example         Applies To

Adds a custom tab stop.

Syntax

expression.Add(Position, Alignment, Leader)

expression   Required. An expression that returns a TabStops object.

Position   Required Single. The position of the tab stop (in points) relative to the left margin.

Alignment   Optional Variant. The alignment of the tab stop. Can be one of the following WdTabAlignment constants: wdAlignTabBar, wdAlignTabCenter, wdAlignTabDecimal, wdAlignTabLeft, wdAlignTabList, or wdAlignTabRight. If this argument is omitted, wdAlignTabLeft is used.

Leader   Optional Variant. The type of leader for the tab stop. Can be one of the following WdTabLeader constants: wdTabLeaderDashes, wdTabLeaderDots, wdTabLeaderHeavy, wdTabLeaderLines, wdTabLeaderMiddleDot, or wdTabLeaderSpaces. If this argument is omitted, wdTabLeaderSpaces is used.