ActiveReports 6 Online Help
Section Class
Members  Example 

Section is the base class of all ActiveReports section types.
Object Model
Section ClassControlCollection ClassARControl Class
Syntax
'Declaration
 
Public Class Section 
public class Section 
Remarks
Use this class to access, add or modify section controls and set section properties.  You can add sections to a report using the Sections property of the report object and the SectionCollection class.
Example
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.detail.AddBookmark("Products");
    this.detail.BackColor = System.Drawing.Color.Transparent;
    this.detail.CanGrow = true;
    this.detail.CanShrink = false;
    this.detail.Controls.Clear();
    this.detail.Height = 2.0f;
    this.detail.Name = "Products";
    this.detail.Visible = true;
    this.detail.SizeToFit();
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Detail1.AddBookmark("Products")
    Me.Detail1.BackColor = System.Drawing.Color.Transparent
    Me.Detail1.CanGrow = True
    Me.Detail1.CanShrink = False
    Me.Detail1.Controls.Clear()
    Me.Detail1.Height = 2.0F
    Me.Detail1.Name = "Products"
    Me.Detail1.Visible = True
    Me.Detail1.SizeToFit()
End Sub
Inheritance Hierarchy

System.Object
   DataDynamics.ActiveReports.Section
      DataDynamics.ActiveReports.Detail
      DataDynamics.ActiveReports.GroupFooter
      DataDynamics.ActiveReports.GroupHeader
      DataDynamics.ActiveReports.PageFooter
      DataDynamics.ActiveReports.PageHeader
      DataDynamics.ActiveReports.ReportFooter
      DataDynamics.ActiveReports.ReportHeader

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

Section Members
DataDynamics.ActiveReports Namespace
SectionCollection Class
Detail Class
GroupFooter Class
GroupHeader Class
PageFooter Class
PageHeader Class
ReportFooter Class
ReportHeader Class

Send Feedback