ActiveReports 16 .NET Edition
GrapeCity.ActiveReports.Export.Pdf Assembly / GrapeCity.ActiveReports.Export.Pdf.Section Namespace / PdfDocumentOptions Class / Subject Property
Example

In This Topic
    Subject Property (PdfDocumentOptions)
    In This Topic
    The subject of the document.
    Syntax
    'Declaration
     
    Public Property Subject As String
    public string Subject {get; set;}

    Property Value

    String type.
    Example
    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
    See Also