PowerPoint) (Ruler.TabStops 屬性
會傳回代表指定文字之定位停駐點的 TabStops 集合。 唯讀。
語法
expression。 TabStops
表達 代表 Ruler 物件的變數。
傳回值
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
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。