Line

The Line control draws a horizontal or vertical line on the form or an object on the form.

Properties

Key properties of Line include:

  • Stroke. The colour of the line. Double-click to open a Colour picker.
  • StrokeThickness. Specify the line thickness in pixels.
  • HorizontalAlignment and Vertical Alignment. Set the alignment of the line within its container.

To change the horizontal, vertical, or diagonal orientation of a line, simple click and drag the ends of the line to reposition and resize it.