GutterCenterlines Property

Microsoft Publisher Visual Basic

GutterCenterlines Property

Returns or sets a value that specifies whether to add a center line between the columns and rows of the gutter guides in a master page. Read/write Boolean.

expression.GutterCenterlines

expression    Required. An expression that returns a LayoutGuides object.

Remarks

The GutterCenterlines property can only be used if the LayoutGuides.Rows property or the LayoutGuides.Columns property is greater than 1.

If True, a red line appears in the center of the gutter guides. If False, no line appears in the center of the gutter guides. The default value is False.

Example

The following example modifies the first master page of the active publication to have three rows, three columns, and red center lines drawn in the gutter guides. Any pages added to the publication after this point will have red center lines drawn in the gutter guides.

    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