private void btnExport_Click(object sender, System.EventArgs e) { rptGrapeCity rpt = new rptGrapeCity(); GrapeCity.ActiveReports.Export.Pdf.PdfExport p = new GrapeCity.ActiveReports.Export.Pdf.PdfExport(); p.Options.Application = "Mortimer's Reporting Software"; p.Options.Author = "Mortimer"; p.Options.Keywords = "annual"; }
Private Sub btnExport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim rpt As New rptDD Dim p As New GrapeCity.ActiveReports.Export.Pdf.PdfExport With p.Options .Application = "Mortimer's Reporting Software" .Author = "Mortimer" .Keywords = "annual" End sub