Table of contents
TOC
折叠目录
展开目录

LayoutGuides 对象 (发布服务器)LayoutGuides Object (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
3 参与人员

代表叠加显示在出版物页面上作为布置设计元素的辅助手段的度量网格。Represents the measurement grid that appears superimposed on publication pages as an aid to laying out design elements.

示例Example

使用文档对象的LayoutGuides属性返回一个LayoutGuides对象。使用LayoutGuide对象的边距属性和的属性来设置行数和列都会显示在版式参考线和它们在页面上显示的位置。Use the LayoutGuides property of the Document object to return a LayoutGuides object. Use the LayoutGuide object's margin properties and Rows and Columns properties to set how many rows and columns are displayed in the layout guides and where they appear on a page.

以下示例将活动演示文稿的边距设置为 2 英寸。This example sets the margins of the active presentation to two inches.

With ActiveDocument.LayoutGuides 
 .MarginTop = Application.InchesToPoints(Value:=2) 
 .MarginBottom = Application.InchesToPoints(Value:=2) 
 .MarginLeft = Application.InchesToPoints(Value:=2) 
 .MarginRight = Application.InchesToPoints(Value:=2) 
End With

属性Properties

名称Name
ApplicationApplication
ColumnGutterWidthColumnGutterWidth
ColumnsColumns
GutterCenterlinesGutterCenterlines
HorizontalBaseLineOffsetHorizontalBaseLineOffset
HorizontalBaseLineSpacingHorizontalBaseLineSpacing
MarginBottomMarginBottom
MarginLeftMarginLeft
MarginRightMarginRight
MarginTopMarginTop
MirrorGuidesMirrorGuides
ParentParent
RowGutterWidthRowGutterWidth
RowsRows
VerticalBaseLineOffsetVerticalBaseLineOffset
VerticalBaseLineSpacingVerticalBaseLineSpacing
© 2018 Microsoft