ActiveReports.PdfExport Request technical support
Keywords Property
See Also  Example


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

Syntax

Visual Basic (Declaration) 
Public Property Keywords As String
Visual Basic (Usage)Copy Code
Dim instance As PdfDocumentOptions
Dim value As String
 
instance.Keywords = value
 
value = instance.Keywords
C# 
public string Keywords {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