共用方式為


LayoutGuides.ColumnGutterWidth 屬性 (Publisher)

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

語法

運算式ColumnGutterWidth

表達 代表 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 支援與意見反應