ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Export.Pdf Assembly / GrapeCity.ActiveReports.Export.Pdf.Section Namespace / PdfDocumentOptions Class / DisplayTitle Property
Example

In This Topic
    DisplayTitle Property (PdfDocumentOptions)
    In This Topic
    True if the window’s title bar should display the document title taken from the Title entry in the document information/metadata. If this value is false, the title bar should instead display the name of the PDF file containing the document. Default value: false.
    Syntax
    'Declaration
     
    Public Property DisplayTitle As Boolean
    public bool DisplayTitle {get; set;}
    Example
    GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport p = new GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport();
    p.Options.Application = "Mortimer's Reporting Software";
    p.Options.Author = "Mortimer";
    p.Options.CenterWindow = true;
    p.Options.DisplayMode = GrapeCity.ActiveReports.Export.Pdf.Section.DisplayMode.Thumbs;
    p.Options.DisplayTitle = true;
    p.Options.FitWindow = true;
    p.Options.HideMenubar = true;
    p.Options.HideToolbar = true;
    p.Options.HideWindowUI = true;
    p.Options.Keywords = "annual";
    Dim p As New GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport
    With p.Options
        .Application = "Mortimer's Reporting Software"
        .Author = "Mortimer"
        .CenterWindow = True
        .DisplayMode = GrapeCity.ActiveReports.Export.Pdf.Section.DisplayMode.Thumbs
        .DisplayTitle = True
        .FitWindow = True
        .HideMenubar = True
        .HideToolbar = True
        .HideWindowUI = True
        .Keywords = "annual"
    See Also