The distance of each end of the specified line from the left edge of the line’s band.
Line controls
Describe and Modify argument:
"controlname.X1 { = ' value ' }"
"controlname.X2 { = ' value ' }"
Parameter |
Description |
---|---|
controlname |
The name of the line for which you want to get or set one of the x coordinates. |
value |
(exp) An integer specifying the x coordinate of the line in the unit of measure specified for the DataWindow object. Value can be a quoted DataWindow expression. |
Select the control and set the value in the Properties view, Position tab.
setting = dw1.Describe("line_1.X1")
dw1.Modify("line_1.X1=10")
dw1.Modify("line_1.X2=1000")