ExportSheetTitles: Boolean;
The ExportSheetTitles property determines whether the sheet titles should be exported when a report is exported to RTF (*.rtf). If the property is set to True, sheet titles are exported. If the property is set to False, the titles are not exported.
The default property value is False.
The following example assumes that there is the Report object with the IPrxReport type.
Sub UserProc;
Var
Report: IPrxReport;
Exp: IPrxReportExporter;
Begin
Exp := New PrxReportExporter.Create;
Exp.Report := Report;
Exp.ExportSheetTitles := True;
Exp.ExportToFile("C:\Report.rtf","rtf");
End Sub UserProc;
After executing the example the regular report is exported into the Report.rtf file. The output file displays sheet titles.
See also: