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 支持和反馈,获取有关如何接收支持和提供反馈的指南。