Document.ReadingLayoutSizeY Property

Word Developer Reference

Sets or returns a Long that represents the height of pages in a document when it is displayed in reading layout view and is frozen for entering handwritten markup.

Syntax

expression.ReadingLayoutSizeY

expression   An expression that returns a Document object.

Remarks

After setting the ReadingLayoutSizeX and ReadingLayoutSizeY properties, use the ReadingModeLayoutFrozen property to display the page using the specified height and width. Use the ReadingLayout property to display a document in reading layout view.

Example

The following example displays the active document in reading layout view, and then sets the size of the displayed pages.

Visual Basic for Applications
  ActiveWindow.View.ReadingLayout = True
ActiveDocument.ReadingLayoutSizeX = 300
ActiveDocument.ReadingLayoutSizeY	= 300
ActiveDocument.ReadingModeLayoutFrozen = True

See Also