ActiveReports3 Request technical support
Line Class
See Also  Members   Example 


Prints a line on the report.

Object Model


Syntax

Visual Basic (Declaration) 
Public NotInheritable Class Line 
   Inherits ARControl
Visual Basic (Usage)Copy Code
Dim instance As Line
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
   DataDynamics.ActiveReports.ARControl
      DataDynamics.ActiveReports.Line

See Also