LayoutGuides.GutterCenterlines property (Publisher)

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

Syntax

expression.GutterCenterlines

expression A variable that represents a LayoutGuides object.

Return value

Boolean

Remarks

The GutterCenterlines property can only be used if the Rows property or the 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

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.