Share via


RowGutterWidth Property [Publisher 2003 VBA Language Reference]

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.

expression.RowGutterWidth

expression Required. An expression that returns one of the objects in the Applies To list.

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, row gutter width of 0.75 inches, 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

Applies to | LayoutGuides Object