Muokkaa

Jaa


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

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.