共用方式為


LayoutGuides.GutterCenterlines 屬性 (Publisher)

會傳回或設定值,指定是否要在主版頁面上的裝訂邊資料行和資料列之間加入中央線。 可讀寫的 Boolean

語法

運算式GutterCenterlines

表達 代表 LayoutGuides 物件的變數。

傳回值

布林值

註解

只有在Rows屬性或Columns屬性大於 1 時,才能使用GutterCenterlines屬性。

如果 為 True ,紅色列會出現在裝訂邊輔助線的中央。 如果 為 False ,沒有列會出現在管理中心的裝訂邊輔助線。 預設值為 False

範例

下列範例會修改使用中出版物的第一個主版頁面,以在裝訂邊中繪製三列、三欄和紅色中心線。 在此點之後新增至出版物的任何頁面,都會在裝訂邊中繪製紅色中心線。

Dim theMasterPage As page 
Dim theLayoutGuides As LayoutGuides 
 
Set theMasterPage = ActiveDocument.MasterPages(1) 
Set theLayoutGuides = theMasterPage.LayoutGuides 
 
With theLayoutGuides 
 .Rows = 3 
 .Columns = 3 
 .GutterCenterlines = True 
End With

支援和意見反應

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