See Also Properties Methods
Line is a graphical control displayed as a horizontal, vertical, or diagonal line.
You can use a line control at design time to draw lines on forms. At run time, you can use a line control instead of, or in addition to, the Line method. Lines drawn with the line control will remain on the form even if the AutoRedraw property is False. Line controls can be displayed on forms, in picture boxes, and in frames. You cannot use the Move method to move a line control at run time but you can move or resize it by altering its X1, X2, Y1, Y2 properties. Note that the effect of setting the BorderStyle property depends on the setting of the Borderwidth property. If BorderWidth is not 1 and BorderStyle is not 0 or 6, BorderStyle is set to 1.
Index X1, X2, Y1, Y2
Drawing a Control
Picture Box Control
Chapter 3, "Creating and Using Controls"
Chapter 15, "Creating Graphics for Applications"