Share via


TabStops.Add Method

Creates a tab stop and adds it to the TabStops collection.

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

Syntax

'Declaration
Function Add ( _
    Type As PpTabStopType, _
    Position As Single _
) As TabStop
'Usage
Dim instance As TabStops
Dim Type As PpTabStopType
Dim Position As Single
Dim returnValue As TabStop

returnValue = instance.Add(Type, Position)
TabStop Add(
    PpTabStopType Type,
    float Position
)

Parameters

  • Position
    Type: System.Single
    The position of the tab stop in the tab stops collection.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.TabStop

Remarks

The Type parameter value can be one of the following PpTabStopType constants:

ppTabStopCenter

ppTabStopDecimal

ppTabStopLeft

ppTabStopMixed

ppTabStopRight

See Also

Reference

TabStops Interface

TabStops Members

Microsoft.Office.Interop.PowerPoint Namespace