共用方式為


版面指南。RowGutterWidth 屬性 (出版商)

會傳回或設定用來幫助收件人配置設計元件的程序將 LayoutGuides 物件列裝訂邊的寬度。 可讀寫 單一

語法

表情排水溝寬度

一個代表 LayoutGuides 物件的變數。

傳回值

單一

註解

列裝訂邊預設寬度為 0.4 英吋。

範例

以下範例修改了活動出版物的第二個主頁,使其有四列四欄,行排水溝寬度為 0.75 英吋,欄排水槽寬度為 0.5 英吋,且排水溝的中心線為 0.5 吋。 以第二個主版頁面為範本的出版物,其要新增的頁面都將含有這些屬性。

Dim theMasterPage As page 
Dim theLayoutGuides As LayoutGuides 
 
Set theMasterPage = ActiveDocument.MasterPages(2) 
Set theLayoutGuides = theMasterPage.LayoutGuides 
 
With theLayoutGuides 
 .Rows = 4 
 .Columns = 4 
 .RowGutterWidth = Application.InchesToPoints(0.75) 
 .ColumnGutterWidth = Application.InchesToPoints(0.5) 
 .GutterCenterlines = True 
End With

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應