Compartilhar via


View.ReadingLayoutAllowMultiplePages Property

Word Developer Reference

Sets or returns a Boolean that represents whether reading layout view displays two pages side by side.

Syntax

expression.ReadingLayoutAllowMultiplePages

expression   An expression that returns a View object.

Remarks

Microsoft Word may or may not allow two pages to be displayed in reading layout view. If Word cannot maintain a reasonable aspect ratio, Word will display only one page. Therefore, if you set the ReadingLayoutAllowMultiplePages property to True and Word cannot display two pages, the property will remain set to False, and Word will display only a single page.

Example

The following example displays two pages side by side in reading layout view if the layout allows.

Visual Basic for Applications
  ActiveWindow.View.ReadingLayout = True
ActiveWindow.View.ReadingLayoutAllowMultiplePages = True

See Also