TabStops2.Add Method
Adds a new tab stop to the specified TabStops2 object.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Function Add ( _
Type As MsoTabStopType, _
Position As Single _
) As TabStop2
'Usage
Dim instance As TabStops2
Dim Type As MsoTabStopType
Dim Position As Single
Dim returnValue As TabStop2
returnValue = instance.Add(Type, Position)
TabStop2 Add(
MsoTabStopType Type,
float Position
)
Parameters
Type
Type: Microsoft.Office.Core.MsoTabStopTypeThe type of tab stop to add.
Position
Type: System.SingleThe 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.
Return Value
Type: Microsoft.Office.Core.TabStop2
TabStop2
Remarks
Examples of MsoTabStopType types include msoTabStopCenter, msoTabStopLeft, and msoTabStopRight.