TabStops2.Add(MsoTabStopType, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Remarks
Examples of MsoTabStopType types include msoTabStopCenter, msoTabStopLeft, and msoTabStopRight.