Show contents 

Report > Report Assembly Interfaces > IPrxReportExporter > IPrxReportExporter.ExportObjects

IPrxReportExporter.ExportObjects

Syntax

ExportObjects: Boolean;

Description

The ExportObjects property determines whether the objects located on report sheets (charts, maps, images, and so on) should be exported.

Comments

If the property is set to True, the objects are exported; if the property is set to False, they are not.

The default value is True.

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.ExportObjects := False;
    Exp.ExportToFile("C:\Report.xls","xls");
End Sub UserProc;

After executing the example the output file does not contain objects located on the report sheets.

See also:

IPrxReportExporter