Y1, Y2

Description

The distance of each end of the specified line from the top of the line’s band.

Applies to

Line controls

Syntax

Describe and Modify argument:

"controlname.Y1 { = ' value ' }"
"controlname.Y2 { = ' value ' }"

Parameter

Description

controlname

The name of the line for which you want to get or set one of the y coordinates.

value

(exp) An integer specifying the y coordinate of the line in the unit of measure specified for the DataWindow object. Value can be a quoted DataWindow expression.

Usage


In the painter

Select the control and set the value in the Properties view, Position tab.

Examples

Example 1

setting = dw1.Describe("line_1.Y1")
dw1.Modify("line_1.Y1=50")
dw1.Modify("line_1.Y2=50")