ExportHeadlines: Boolean;
The ExportHeadlines property determines whether sheet headers and footers are to be exported when exporting a report to RTF format (*.rtf). If the property is set to True, headers and footers are exported; if the property is set to False, they are not.
The default property value is True.
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.ExportHeadlines := False;
Exp.ExportToFile("C:\Report.rtf","rtf");
End Sub UserProc;
On exporting the report the headers and footers are not exported.
See also: