ActiveReports Developer 7
Subject Property
See Also  Example
GrapeCity.ActiveReports.Export.Pdf.v7 Assembly > GrapeCity.ActiveReports.Export.Pdf.Section Namespace > PdfDocumentOptions Class : Subject Property

Glossary Item Box

The subject of the document.

Syntax

Visual Basic (Declaration) 
Public Property Subject As System.String
C# 
public System.string Subject {get; set;}

Property Value

String type.

Example

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 BasicCopy 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

See Also