Print.Preview.property
property (DataWindow object)
Description
Properties that control the print preview of a DataWindow.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Print.Preview.property |
Describe and Modify argument:
|
1 |
"DataWindow.Print.Preview.property { = value }" |
SyntaxFromSql:
|
1 |
DataWindow ( Print.Preview.property = value ) |
|
Parameter |
Description |
|---|---|
|
property |
A property for print preview. Properties and their |
|
value |
The value to be assigned to the property. Value |
|
Property for Print.Preview |
Value |
|---|---|
|
Buttons |
Whether buttons display in print Values are: Yes — Buttons are No — (Default) Buttons are not Painter: Display Buttons – Print |
|
Outline |
Whether a blue line displays to show the location Values are: Yes — No — Margin Painter: Print Preview |
|
Rulers |
Whether the rulers display when the DataWindow Yes — No — (Default) Do not display You can view rulers in Preview mode in |
|
Zoom |
An integer indicating the zoom factor of the print You can view different |
Usage
In the painter
Select the DataWindow by deselecting all controls; then set values
in the Properties view, Print Specifications tab.
Examples
|
1 2 3 4 5 6 |
dw1.Object.DataWindow.Print.Preview.Buttons = 'Yes' setting = dw1.Describe ("DataWindow.Print.Preview.Buttons") dw1.Modify("DataWindow.Print.Preview.Buttons = 'Yes'") dw1.Object.DataWindow.Print.Preview.Rulers = 'Yes' setting = dw1.Describe ("DataWindow.Print.Preview.Rulers") dw1.Modify("DataWindow.Print.Preview.Rulers = 'Yes'") |
See also