GrapeCity.ActiveReports.Document.v8 Assembly > GrapeCity.ActiveReports.Document Namespace > SectionDocument Class : Printer Property |
private void SectionReport1_ReportStart(object sender, System.EventArgs eArgs) { this.Document.Printer.PrinterSettings.Copies=5; } private void SectionReport1_ReportEnd(object sender, System.EventArgs eArgs) { this.Document.Print(false, false); }
Private Sub SectionReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart Me.Document.Printer.PrinterSettings.Copies = 5 End Sub Private Sub SectionReport1_ReportEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart Me.Document.Print(False, False) End Sub