LayoutGuides.RowGutterWidth property (Publisher)
Returns or sets the width of the row gutters that are used by the LayoutGuides object to aid in the process of laying out design elements. Read/write Single.
Syntax
expression.RowGutterWidth
expression A variable that represents a LayoutGuides object.
Return value
Single
Remarks
The default width of row gutters is 0.4 inches.
Example
The following example modifies the second master page of the active publication so that it has four rows and four columns, a row gutter width of 0.75 inches, a column gutter width of 0.5 inches, and center lines in the gutters. Any new pages added to the publication that use the second master page as a template will have these properties.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.