IPrxReportExporter.ExportEmptyPages

Syntax

ExportEmptyPages: Boolean;

Description

The ExportEmptyPages property determines whether empty pages should be exported when exporting a report to RTF (*.rtf). Empty sheets are the sheets that contain no data. If such a sheet contains an object (a chart, a map or an image, and so on) it is still considered to be empty.

If the property is set to True, the empty pages are exported.

The default property value is True.

Example

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.ExportEmptyPages := False;

Exp.ExportToFile("C:\Report.rtf","rtf");

End Sub UserProc;

When exporting the report the sheets that contain no data are ignored.

See also:

IPrxReportExporter