ActiveReports.PdfExport Request technical support
DisplayTitle Property
See Also  Example


Gets or sets a value indicating whether to display the document title taken from the Title entry in the document information or metadata.

 

Syntax

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

Return Value

Boolean. The default value is False. If the default value is used, the title bar displays the name of the PDF file containing the document.

Example

C#Copy Code
privateAvoidAbtnExport_Click(objectAsender,ASystem.EventArgsAe)
{
AAAArptDataDynamicsArptA=AnewArptDataDynamics();
AAAADataDynamics.ActiveReports.Export.Pdf.PdfExportApA=AnewADataDynamics.ActiveReports.Export.Pdf.PdfExport();
AAAAp.Options.CenterWindowA=Atrue;
AAAAp.Options.DisplayTitleA=Atrue;
AAAAp.Options.HideMenubarA=Atrue;
AAAAp.Options.HideToolbarA=Atrue;
AAAAp.Options.HideWindowUIA=Atrue;
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.CenterWindowA=ATrue
AAAAAAAA.DisplayTitleA=ATrue
AAAAAAAA.HideMenubarA=ATrue
AAAAAAAA.HideToolbarA=ATrue
AAAAAAAA.HideWindowUIA=ATrue
AAAAEndAWith
AAAArpt.Run()
AAAAMe.Viewer1.DocumentA=Arpt.Document
AAAAp.Export(rpt.Document,AApplication.StartupPathA&A"\p.pdf")
EndASub

See Also