Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PaperHeight – PB Docs 2019 – PowerBuilder Library

PaperHeight – PB Docs 2019

PaperHeight

property for PowerScript controls

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.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x