GrapeCity.ActiveReports.v9 アセンブリ > GrapeCity.ActiveReports 名前空間 > PageSettings クラス : PaperName プロパティ |
PaperKindプロパティがCustomに設定されている場合のみ、用紙の名前を設定できます。
private void rptGrapeCity_ReportStart(object sender, System.EventArgs eArgs) { this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom; this.PageSettings.PaperHeight = 3; this.PageSettings.PaperName = "Logo Labels"; this.PageSettings.PaperWidth = 5; }
Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart Me.PageSettings.PaperKind = Printing.PaperKind.Custom Me.PageSettings.PaperHeight = 3 Me.PageSettings.PaperName = "Logo Labels" Me.PageSettings.PaperWidth = 5 End Sub