Share via


PageSetup.LayoutMode Property

Word Developer Reference

Returns or sets the layout mode for the current document. Read/write WdLayoutMode.

Syntax

expression.LayoutMode

expression   Required. A variable that represents a PageSetup object.

Example

This example sets the layout mode for the active document so that Microsoft Word automatically aligns typed text to a grid.

Visual Basic for Applications
  ActiveDocument.PageSetup.LayoutMode = wdLayoutModeGenko

See Also