Publisher) (LayoutGuides 物件
代表度量格線,此格線附加於出版物頁面上,做為配置設計元件的輔助工具。
註解
使用Document物件的LayoutGuides屬性可傳回LayoutGuides物件。
使用 LayoutGuide 物件的邊界屬性及 Rows 和 Columns 屬性,則可設定版面配置輔助線上顯示的列數和欄數,以及列和欄在頁面上的顯示位置。
範例
本範例會設定使用中簡報的邊界為 2 英吋。
With ActiveDocument.LayoutGuides
.MarginTop = Application.InchesToPoints(Value:=2)
.MarginBottom = Application.InchesToPoints(Value:=2)
.MarginLeft = Application.InchesToPoints(Value:=2)
.MarginRight = Application.InchesToPoints(Value:=2)
End With
屬性
- Application
- ColumnGutterWidth
- Columns
- GutterCenterlines
- HorizontalBaseLineOffset
- HorizontalBaseLineSpacing
- MarginBottom
- MarginLeft
- MarginRight
- MarginTop
- MirrorGuides
- Parent
- RowGutterWidth
- Rows
- VerticalBaseLineOffset
- VerticalBaseLineSpacing
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。