Visual Basic (Declaration) | |
---|---|
Public Property Subject As System.String |
C# | |
---|---|
public System.string Subject {get; set;} |
Property Value
String type.C# | Copy Code |
---|---|
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"; } |
Visual Basic | Copy Code |
---|---|
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 |