ActiveReports.PdfExport Request technical support
Title Property
See Also  Example


Gets or sets the title to display in the Title field on the Description tab of the Document Properties window in the PDF reader.

Syntax

Visual Basic (Declaration) 
Public Property Title As String
Visual Basic (Usage)Copy Code
Dim instance As PdfDocumentOptions
Dim value As String
 
instance.Title = value
 
value = instance.Title
C# 
public string Title {get; set;}

Return Value

String.

Example

C#Copy Code
PrivateAvoidAbtnExport_Click(objectAsender,ASystem.EventArgsAe)
{
AAAArptDataDynamicsArptA=ANewArptDataDynamics();
AAAADataDynamics.ActiveReports.Export.Pdf.PdfExportApA=ANewADataDynamics.ActiveReports.Export.Pdf.PdfExport();
AAAAp.Options.ApplicationA=A"Mortimer'sAReportingASoftware";
AAAAp.Options.AuthorA=A
"Mortimer";
AAAAp.Options.KeywordsA=A
"annual,Areport,A2006";
AAAAp.Options.SubjectA=A
"SalesAreportAforA2006";
AAAAp.Options.TitleA=A
"AnnualAReport";
AAAArpt.Run();
AAAAthis.arv.DocumentA=Arpt.Document;
AAAAp.Export(rpt.Document,AApplication.StartupPathA+A
"\\p.pdf");
}
Visual BasicCopy Code
PrivateASubAbtnExport_Click(ByValAsenderAAsASystem.Object,AByValAeAAsASystem.EventArgs)AHandlesAButton2.Click
AAAADimArptAAsANewArptDD
AAAADimApAAsANewADataDynamics.ActiveReports.Export.Pdf.PdfExport
AAAAWithAp.Options
AAAAAAAA.ApplicationA=A"Mortimer'sAReportingASoftware"
AAAAAAAA.AuthorA=A"Mortimer"
AAAAAAAA.KeywordsA=A"annual,Areport,A2006"
AAAAAAAA.SubjectA=A"SalesAreportAforA2006"
AAAAAAAA.TitleA=A"AnnualAReport"
AAAAEndAWith
AAAArpt.Run()
AAAAMe.Viewer1.DocumentA=Arpt.Document
AAAAp.Export(rpt.Document,AApplication.StartupPathA&A"\p.pdf")
EndASub

See Also