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

Glossary Item Box

Prints a rectangular or oval shape on the report.

Object Model

Shape Class

Syntax

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

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.shape1.BackColor = System.Drawing.Color.LightSteelBlue;
    this.shape1.LineColor = System.Drawing.Color.Navy;
    this.shape1.LineStyle = LineStyle.Solid;
    this.shape1.LineWeight = 2.0f;
    this.shape1.Style = ShapeType.Ellipse;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Shape1.BackColor = System.Drawing.Color.LightSteelBlue
   Me.Shape1.LineColor = System.Drawing.Color.Navy
   Me.Shape1.LineStyle = LineStyle.Solid
   Me.Shape1.LineWeight = 2.0F
   Me.Shape1.Style = ShapeType.Ellipse
End Sub

Inheritance Hierarchy

System.Object
   GrapeCity.ActiveReports.SectionReportModel.ARControl
      GrapeCity.ActiveReports.SectionReportModel.Shape

See Also