Partager via


Document.ReadingLayoutSizeY Property (Word)

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.

ActiveWindow.View.ReadingLayout = True 
ActiveDocument.ReadingLayoutSizeX = 300 
ActiveDocument.ReadingLayoutSizeY = 300 
ActiveDocument.ReadingModeLayoutFrozen = True

See Also

Concepts

Document Object Members

Document Object