共用方式為


LayoutGuides.RowGutterWidth 屬性 (Publisher)

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

語法

運算式RowGutterWidth

表達 代表 LayoutGuides 物件的變數。

傳回值

單一

註解

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

範例

下列範例會修改使用中出版物的第二個主版頁面,使其具有四列和四欄、0.75 英吋的資料列裝訂邊寬度、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 支援與意見反應