返回一个代表指定文本的制表位的 TabStops 集合。只读。
下面的例子向当前演示文稿中添加一个有两列文本的幻灯片,并为新建幻灯片的标题设置左对齐的制表符,左对齐标题框,再用刚创建的制表位对齐标题文本。
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