ActiveReports 9
Line Class
Members  Example 

Prints a line on the report.
Object Model
Line Class
Syntax
'Declaration
 
Public NotInheritable Class Line 
   Inherits ARControl
public sealed class Line : ARControl 
Example
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;
}
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

Reference

Line Members
GrapeCity.ActiveReports.SectionReportModel Namespace

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum