Initializes a new instance of the LineDef class,
assigning line width, color, dash background color and dash style.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public LineDef( Unit width, Color color, Color backColor, DashStyle style ) |
Visual Basic |
---|
Public Sub New ( _ width As Unit, _ color As Color, _ backColor As Color, _ style As DashStyle _ ) |
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.
- style
- Type: System.Drawing.Drawing2D..::..DashStyle
A value assigned to the DashStyle property.