ActiveReports3 Request technical support
LineStyle Property
See Also  Example


Gets or sets the pen style used to draw the line.

Syntax

Visual Basic (Declaration) 
Public Property LineStyle As LineStyle
Visual Basic (Usage)Copy Code
Dim instance As Line
Dim value As LineStyle
 
instance.LineStyle = value
 
value = instance.LineStyle
C# 
public LineStyle LineStyle {get; set;}

Return Value

LineStyle enumeration.  The default value is LineStyle.Solid. Possible values are:

  • LineStyle.Dash
  • LineStyle.DashDot
  • LineStyle.DashDotDot
  • LineStyle.Dot
  • LineStyle.Solid
  • LineStyle.Transparent

Example

C#Copy Code
private void Detail_Format(object sender, System.EventArgs eArgs)
{
   
this.Line1.LineStyle = LineStyle.DashDot;
}
Visual BasicCopy Code
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Me.Line1.LineStyle = LineStyle.DashDot
End Sub

See Also