GrapeCity.ActiveReports.v11 アセンブリ > GrapeCity.ActiveReports 名前空間 > PageSettings クラス : PaperKind プロパティ |
使用する用紙サイズを示すSystem.Drawing.Printing.PaperKind列挙値。
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs) { this.PageSettings.PaperHeight = 11.0f; this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom; this.PageSettings.PaperName = "My Paper"; this.PageSettings.PaperWidth = 8.5f; }
Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart Me.PageSettings.PaperHeight = 11.0F Me.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom Me.PageSettings.PaperName = "My Paper" Me.PageSettings.PaperWidth = 8.5F End Sub