ActiveReports 8
Subject Property
See Also  Example
GrapeCity.ActiveReports.Export.Pdf.v8 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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also