ActiveReports 8
LineStyle Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Line Class : LineStyle Property

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Property LineStyle As LineStyle
C# 
public LineStyle LineStyle {get; set;}

Property 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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Line Class
Line Members
ActiveReports6~GrapeCity.ActiveReports.Line~LineColor
ActiveReports6~GrapeCity.ActiveReports.Line~LineWeight