GrapeCity ActiveReports for .NET 12.0J
PageSettings クラス
メンバ  使用例 

レポートドキュメントページの印刷に使用するページ設定を指定します。
オブジェクト モデル
PageSettings クラス
構文
'宣言
 
Public Class PageSettings 
public class PageSettings 
使用例
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs)
{
    this.PageSettings.Collate = GrapeCity.ActiveReports.PageSettings.PrinterCollate.Collate;
    this.PageSettings.DefaultPaperSize = true;
    this.PageSettings.DefaultPaperSource = true;
    this.PageSettings.Duplex = System.Drawing.Printing.Duplex.Default;
    this.PageSettings.Gutter = 1.0f;
    this.PageSettings.Margins.Bottom = 1.0f;
    this.PageSettings.Margins.Left = 1.0f;
    this.PageSettings.Margins.Right = 1.0f;
    this.PageSettings.Margins.Top = 1.0f;
    this.PageSettings.MirrorMargins = false;
    this.PageSettings.Orientation = PageOrientation.Default;
    this.PageSettings.PaperHeight = 11.0f;
    this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom;
    this.PageSettings.PaperSource = System.Drawing.Printing.PaperSourceKind.Manual;
    this.PageSettings.PaperWidth = 8.5f;    
}
Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
   Me.PageSettings.Collate = PageSettings.PrinterCollate.Collate
   Me.PageSettings.DefaultPaperSize = True
   Me.PageSettings.DefaultPaperSource = True
   Me.PageSettings.Duplex = Drawing.Printing.Duplex.Default
   Me.PageSettings.Gutter = 1.0F
   Me.PageSettings.Margins.Bottom = 1.0F
   Me.PageSettings.Margins.Left = 1.0F
   Me.PageSettings.Margins.Right = 1.0F
   Me.PageSettings.Margins.Top = 1.0F
   Me.PageSettings.MirrorMargins = False
   Me.PageSettings.Orientation = PageOrientation.Default
   Me.PageSettings.PaperHeight = 11.0F
   Me.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom
   Me.PageSettings.PaperSource = System.Drawing.Printing.PaperSourceKind.Manual
   Me.PageSettings.PaperWidth = 8.5F
End Sub
継承階層

System.Object
   GrapeCity.ActiveReports.PageSettings

参照

関連項目

PageSettings メンバ
GrapeCity.ActiveReports 名前空間

 

 


Copyright © 2003 GrapeCity inc. All rights reserved.