PowerTools ActiveReports for .NET 9.0J
Section クラス
メンバ  使用例 

Sectionは、ActiveReportsのすべての種類のセクションの基本クラスです。
オブジェクト モデル
Section クラス
構文
'宣言
 
Public Class Section 
public class Section 
解説

このクラスを使用すると、セクションコントロールへのアクセス、セクションコントロールの追加、変更、およびセクションプロパティの設定が行えます。セクションをレポートに追加するには、レポートオブジェクトの Sections プロパティとSectionCollectionクラスを使用します。

使用例
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
継承階層

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

参照

関連項目

Section メンバ
GrapeCity.ActiveReports.SectionReportModel 名前空間
SectionCollection クラス
Detail クラス
GroupFooter クラス
GroupHeader クラス
PageFooter クラス
PageHeader クラス
ReportFooter クラス
ReportHeader クラス

 

 


©2003-2015 GrapeCity inc. All rights reserved.