X1, X2

Description

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

Applies to

Line controls

Syntax

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.

Usage


In the painter

Select the control and set the value in the Properties window, Layout category.

Examples

Example 1

[Visual Basic]
setting = dw1.Describe("line_1.X1")

Example 2

dw1.Modify("line_1.X1=10")

dw1.Modify("line_1.X2=1000")