PowerTools ActiveReports for .NET 9.0J
Document プロパティ (SectionReport)
使用例 

レポート出力のDocumentオブジェクトを返します。
構文
'宣言
 
Public ReadOnly Property Document As SectionDocument
public SectionDocument Document {get;}

プロパティ値

生成されたDocumentオブジェクト。レポートが実行されなかった場合はNull。

解説

Documentクラスは、GrapeCity.ActiveReports.Document.v9.DLLアセンブリのGrapeCity.ActiveReports.Document名前空間にあります。

使用例
private void formReport_Load(object sender, System.EventArgs e)
{    
    rptMain rpt = new rptMain();    
    this.viewer1.Document = rpt.Document;    
    rpt.Run();
}
Private Sub formReport_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load    
    Dim rpt As New rptMain()    
    Viewer1.Document = rpt.Document    
    rpt.Run()
End Sub
参照

関連項目

SectionReport クラス
SectionReport メンバ
Document クラス

 

 


©2003-2015 GrapeCity inc. All rights reserved.