Perspective
property (DataWindow object)
Description
The distance from the front of the window at which the graph
appears.
Applies to
Graph controls
Syntax
PowerBuilder dot notation:
1 |
dw_control.Object.graphname.Perspective |
Describe and Modify argument:
1 |
"graphname.Perspective { = ' integer ' }" |
Parameter |
Description |
---|---|
graphname |
The name of the graph control in the DataWindow |
integer |
(exp) An integer between 1 and 100 specifying how |
Usage
In the painter
Select the control and set the value in the Properties view,
General tab, Perspective scroll bar (available when a 3D graph type is
selected).
Examples
1 2 3 4 5 |
string setting setting = dw1.Object.graph_1.Perspective dw1.Object.graph_1.Perspective = 20 setting = dw1.Describe("graph_1.Perspective") dw1.Modify("graph_1.Perspective=20") |