GrapeCity.ActiveReports.v11 アセンブリ > GrapeCity.ActiveReports 名前空間 > SectionReport クラス : PageSettings プロパティ |
'宣言 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