Export (0) Print
Expand All
2 out of 8 rated this helpful - Rate this topic

Visual Basic Reference

Visual Studio 6.0

X1, Y1, X2, Y2 Properties

See Also    Example    Applies To

Return or set the coordinates of the starting point (X1, Y1) and ending point (X2, Y2) of a Line control. The horizontal coordinates are X1 and X2; the vertical coordinates are Y1 and Y2.

Syntax

object.X1 [= value]

object.Y1 [= value]

object.X2 [= value]

object.Y2 [= value]

The X1, Y1, X2, and Y2 property syntaxes have these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Value A numeric expression specifying a coordinate.

Remarks

Use these properties to dynamically extend a Line control from one point to another at run time. For example, you can show the relationships of items in one list to items in another list or connect points on a map.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.