Applies to
RichTextEdit
Description
Sets the value for the display width of pages inside the control.
Usage
By default, the value you set for display width 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 PaperWidth is used for printing as well as for screen display. When you set this value or the PaperHeight 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 PaperWidth property takes a long value.
The following line sets the display width of a RichTextEdit to 8 inches.
rte_1.PaperWidth = 8000