Condividi tramite


PageSetup.LayoutMode Property (Word)

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.

ActiveDocument.PageSetup.LayoutMode = wdLayoutModeGenko

See Also

Concepts

PageSetup Object Members

PageSetup Object