Share via


TabStop.Clear Method

Clears the specified tab stop from the ruler and deletes it from the TabStops collection.

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

Syntax

'Declaration
Sub Clear
'Usage
Dim instance As TabStop

instance.Clear()
void Clear()

Examples

This example clears all tab stops for the text in shape two on slide one in the active presentation.

With Application.ActivePresentation.Slides(1).Shapes(2).TextFrame _

    .Ruler.TabStops

    For i = .Count To 1 Step -1

        .Item(i).ClearNext

End With

See Also

Reference

TabStop Interface

TabStop Members

Microsoft.Office.Interop.PowerPoint Namespace