Ruler.TabStops Property
Returns a TabStops collection that represents the tab stops for the specified text. Read-only.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property TabStops As TabStops
Get
'Usage
Dim instance As Ruler
Dim value As TabStops
value = instance.TabStops
TabStops TabStops { get; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.TabStops
TabStops
Examples
This example adds a slide with two text columns to the active presentation, sets a left-aligned tab stop for the title on the new slide, aligns the title box to the left, and assigns title text utilizing the tab stop just created.
With Application.ActivePresentation.Slides _
.Add(2, ppLayoutTwoColumnText).Shapes
With .Title.TextFrame
With .Ruler
.Levels(1).FirstMargin = 0
.TabStops.Add ppTabStopLeft, 310
End With
.TextRange.ParagraphFormat.Alignment = ppAlignLeft
.TextRange = "first column" + Chr(9) + "second column"
End With
End With