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

現在のレポートページ設定への参照を返します。
構文
'宣言
 
Public Property PageSettings As PageSettings
public PageSettings PageSettings {get; set;}

プロパティ値

デフォルトPageSettingsオブジェクト。

解説

レポートページの印刷設定を変更するために使用します。

使用例
private void arv_Load(object sender, System.EventArgs e)
{
    rptGrapeCity rpt = new rptGrapeCity();
    rpt.PageSettings.Orientation = GrapeCity.ActiveReports.Document.PageOrientation.Landscape;
    rpt.Run();
    this.arv.Document = rpt.Document;
}
Private Sub Viewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Viewer1.Load
    Dim rpt As New SectionReport1
    rpt.PageSettings.Orientation = GrapeCity.ActiveReports.Document.PageOrientation.Landscape
    rpt.Run()
    Me.Viewer1.Document = rpt.Document
End Sub
参照

関連項目

SectionReport クラス
SectionReport メンバ
PageSettings クラス

 

 


©2003-2015 GrapeCity inc. All rights reserved.