Share via


Document.LayoutGuides Property

Publisher Developer Reference

Returns a LayoutGuides object consisting of the margin and grid layout guides for all pages including master pages in the publication.

Syntax

expression.LayoutGuides

expression   A variable that represents a Document object.

Example

The following example changes the grid layout guides so that there are three columns and five rows.

Visual Basic for Applications
  Dim layTemp As LayoutGuides

Set layTemp = ActiveDocument.LayoutGuides

With layTemp .Rows = 5 .Columns = 3 End With

See Also