Show contents 

Report > Report Assembly Interfaces > IPrxReportExporter > IPrxReportExporter.ExportSheetTitles

IPrxReportExporter.ExportSheetTitles

Syntax

ExportSheetTitles: Boolean;

Description

The ExportSheetTitles determines whether sheet titles are exported on exporting report to RTF format (*.rtf).

Comments

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.

Example

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.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:

IPrxReportExporter