TabStops.Add(Single, Object, Object) Method

Definition

Returns a TabStop object that represents a custom tab stop added to a document.

public Microsoft.Office.Interop.Word.TabStop Add (float Position, ref object Alignment, ref object Leader);
abstract member Add : single * obj * obj -> Microsoft.Office.Interop.Word.TabStop
Public Function Add (Position As Single, Optional ByRef Alignment As Object, Optional ByRef Leader As Object) As TabStop

Parameters

Position
Single

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

Alignment
Object

Optional Object. 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
Object

Optional Object. 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.

Returns

Applies to