TabStops.Add Method

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

TabStop Add(
	float Position,
	ref Object Alignment,
	ref Object Leader
)

Parameters

Position
Type: System.Single
Required Single. The position of the tab stop (in points) relative to the left margin.
Alignment
Type: System.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
Type: System.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.

Community Additions

ADD
Show:
© 2014 Microsoft