Print.Preview.property DataWindow object property
Description
Properties that control the print preview of a DataWindow.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.Print.Preview.<span>property</span> |
Describe and Modify argument:
|
1 |
"DataWindow.Print.Preview.<span>property</span> { = <span>value</span> }" |
DataWindowSyntaxFromSql:
|
1 |
DataWindow ( Print.Preview.<span>property </span>= <span>value </span>) |
|
Parameter |
Description |
|---|---|
|
property |
A property for print preview. Properties |
|
value |
The value to be assigned to the property. Value cannot |
|
Property for Print.Preview |
Value |
|---|---|
|
Buttons |
Whether buttons display in print preview. Values are:
Painter: Display Buttons – Print Preview. |
|
Outline |
Whether a blue line displays to show Values are:
Painter: Print Preview Shows Outline |
|
Rulers |
Whether the rulers display when the DataWindow
You can view rulers in Preview mode in the DataWindow painter. |
|
Zoom |
An integer indicating the zoom factor You can view different zoom percentages in Preview mode in |
Usage
In the painter
Select the DataWindow by deselecting all controls; then set values
in the Properties view, Print Specifications tab.
Examples
|
1 |
dw1.Object.DataWindow.Print.Preview.Buttons = 'Yes' |
|
1 |
setting = dw1.Describe<br> ("DataWindow.Print.Preview.Buttons") |
|
1 |
dw1.Modify("DataWindow.Print.Preview.Buttons = 'Yes'") |
|
1 |
dw1.Object.DataWindow.Print.Preview.Rulers = 'Yes' |
|
1 |
setting = dw1.Describe<br> ("DataWindow.Print.Preview.Rulers") |
|
1 |
dw1.Modify("DataWindow.Print.Preview.Rulers = 'Yes'") |