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
TabStop

Remarks

The Type parameter value can be one of these PpTabStopType constants.

Constant

Description

ppTabStopCenter

Center tab stop.

ppTabStopDecimal

Decimal tab stop.

ppTabStopLeft

Left tab stop.

ppTabStopMixed

Mixed tab stop.

ppTabStopRight

Right tab stop.

See Also

Reference

TabStops Interface

TabStops Members

Microsoft.Office.Interop.PowerPoint Namespace