PaperHeight

Applies to

RichTextEdit

Description

Sets the value for the display height of pages inside the control.

Usage

By default, the value you set for display height is multiplied by 1/1000 of an inch. An application user can change the display units at runtime when you enable the PopMenu property of the RichTextEdit control. This allows the application user to bring up the Rich Text Object dialog box and change the current units to 1/1000 of a centimeter. If the user switches the current units to centimeters, the values you set for PaperHeight and PaperWidth are multiplied by 2.54.

By default, the value you set for PaperHeight is used for printing as well as for screen display. When you set this value or the PaperWidth value, the default value in the Size drop-down list on the Print Specifications page of the Rich Text Object dialog box changes to Customized. Application users can modify the print specifications from the Rich Text Object dialog box at runtime, but only if you set the PopMenu property of the rich text object to true.

In scripts

The PaperHeight property takes a long value.

The following line sets the display height of a RichTextEdit to 11 inches.

rte_1.PaperHeight = 11000