Initializes a new instance of the LineDef class, assigning line width, color, dash background color and dash pattern. DashStyle is set to Custom.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public LineDef(
	Unit width,
	Color color,
	Color backColor,
	float[] dashPattern
)
Visual Basic
Public Sub New ( _
	width As Unit, _
	color As Color, _
	backColor As Color, _
	dashPattern As Single() _
)

Parameters

width
Type: C1.C1Preview..::..Unit
A value assigned to the Color property.
color
Type: System.Drawing..::..Color
A value assigned to the Color property.
backColor
Type: System.Drawing..::..Color
A value assigned to the BackColor property.
dashPattern
Type: array<System..::..Single>[]()[][]
A value assigned to the DashPattern property.

See Also