LineStyle

Applies to

Line, Oval, Rectangle, RoundRectangle controls

Description

The LineStyle property specifies the appearance of a line object or the border around other drawing objects.

Usage

In a painter

To set the line style:

  • Select a line style from the Line Style drop-down list on the General page of the control's Properties view.

In scripts

The LineStyle property takes a value of the LineStyle enumerated datatype. The following example sets a dashed line for a Rectangle:

r_1.LineStyle = Dash!