IPrxReportExporter.BreakIntoLayouts

Syntax

BreakIntoLayouts: Boolean;

Description

The BreakIntoLayouts property determines whether it is necessary to break a sheet into printed pages when exporting to RTF format (*.rtf).

Comments

Available values:

Example

Executing the example requires that the repository contains a regular report with the Report_1 identifier.

Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Report: IPrxReport;
    Exp: IPrxReportExporter;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report_1").Bind As IPrxReport;
    Exp := New PrxReportExporter.Create;
    Exp.Report := Report;
    Exp.BreakIntoLayouts := True;
    Exp.ExportToFile("C:\" + Report.Name + ".rtf""rtf");
End Sub UserProc;

On executing the example the report is exported to the RTF format. On export the sheet is divided into printed pages.

See also:

IPrxReportExporter