ActiveReports Developer 7
Line Class
Members  Example  See Also 
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace : Line Class

Glossary Item Box

Prints a line on the report.

Object Model

Line Class

Syntax

Visual Basic (Declaration) 
Public NotInheritable Class Line 
   Inherits ARControl
C# 
public sealed class Line : ARControl 

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.line1.LineColor = System.Drawing.Color.Blue;
    this.line1.LineStyle = LineStyle.DashDot;
    this.line1.LineWeight = 2.0f;
    this.line1.X1 = 1.0f;
    this.line1.X2 = 4.0f;
    this.line1.Y1 = 0.5f;
    this.line1.Y2 = 0.5f;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Line1.LineColor = System.Drawing.Color.Blue
    Me.Line1.LineStyle = LineStyle.DashDot
    Me.Line1.LineWeight = 2.0F
    Me.Line1.X1 = 1.0F
    Me.Line1.X2 = 4.0F
    Me.Line1.Y1 = 0.5F
    Me.Line1.Y2 = 0.5F
End Sub

Inheritance Hierarchy

System.Object
   GrapeCity.ActiveReports.SectionReportModel.ARControl
      GrapeCity.ActiveReports.SectionReportModel.Line

See Also