Edit

Share via


TabStops2.Add(MsoTabStopType, Single) Method

Definition

Adds a new tab stop to the specified TabStops2 object.

public:
 Microsoft::Office::Core::TabStop2 ^ Add(Microsoft::Office::Core::MsoTabStopType Type, float Position);
public Microsoft.Office.Core.TabStop2 Add (Microsoft.Office.Core.MsoTabStopType Type, float Position);
abstract member Add : Microsoft.Office.Core.MsoTabStopType * single -> Microsoft.Office.Core.TabStop2
Public Function Add (Type As MsoTabStopType, Position As Single) As TabStop2

Parameters

Type
MsoTabStopType

The type of tab stop to add.

Position
Single

The horizontal position of the new tab stop relative to the left edge of the text frame. Numeric values are evaluated in points; strings are evaluated in the units specified and can be in any measurement unit supported by the Microsoft Office product.

Returns

TabStop2

Remarks

Examples of MsoTabStopType types include msoTabStopCenter, msoTabStopLeft, and msoTabStopRight.

Applies to