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

Print.Preview.property – PB Docs 126 – PowerBuilder Library

Print.Preview.property – PB Docs 126

Print.Preview.property DataWindow object property

Description

Properties that control the print preview of a DataWindow.

Controls

DataWindows

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

DataWindowSyntaxFromSql:

Parameter

Description

property

A property for print preview. Properties
and their settings are listed in the table below.

value

The value to be assigned to the property. Value cannot
be a DataWindow expression.

Property for Print.Preview

Value

Buttons

Whether buttons display in print preview.

Values are:

  • Yes – Buttons
    are displayed.

  • No – (Default) Buttons are not displayed.

Painter: Display Buttons – Print Preview.

Outline

Whether a blue line displays to show
the location of the margins.

Values are:

  • Yes – (Default)
    Margin outline is displayed.

  • No – Margin outline is not displayed.

Painter: Print Preview Shows Outline

Rulers

Whether the rulers display when the DataWindow
object displays in preview mode. Values are:

  • Yes – Display
    the rulers.

  • No – (Default) Do not display the rulers.

You can view rulers in Preview mode in the DataWindow painter.
With the Preview view selected, select File>Print Preview,
then File>Print Preview Rulers. However, the setting is
not used at runtime. To see rulers at runtime, set Print.Preview.Rulers
in code..

Zoom

An integer indicating the zoom factor
of the print preview. The default is 100%.

You can view different zoom percentages in Preview mode in
the DataWindow painter. With the Preview view selected, select File>Print
Preview, then File>Print Preview Zoom. However, the setting
is not used at runtime. To change the zoom factor at runtime, set
Print.Preview.Zoom in code..

Usage

In the painter

Select the DataWindow by deselecting all controls; then set values
in the Properties view, Print Specifications tab.

Examples

See Also


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