Report > Report Assembly Interfaces > IPrxReportExporter > IPrxReportExporter.ExportReportTitle
ExportReportTitle: Boolean;
The ExportReportTitle property determines whether the report title will be exported to PDF (extended).
If the property is set to True, the report title will be exported; if the property is set to False, it will not.
The default property value is False.
The following example assumes that there is the Report object with the IPrxReport type.
Sub UserProc;
Var
Mb: IMetabase;
Report: IPrxReport;
Exp: IPrxReportExporter;
Begin
Mb := MetabaseClass.Active;
Rep := Mb.ItemById("OBJ_REPORT").Bind As IPrxReport;
Exp := New PrxReportExporter.Create;
Exp.Report := Report;
Exp.ExportReportTitle := True;
Exp.ExportToFile("C:\Report.pdf", "pdfex");
End Sub UserProc;
When exporting a report its title is exported to the output file.
See also: