ExportObjects: Boolean;
The ExportObjects property determines whether table objects should be exported. If property value is set to True, the objects are exported, if property value is set to False, they are not.
Be default the value is set to True.
The example supposes that the Report object of the IPrxReport type exists.
Sub UserProc;
Var
Report: IPrxReport;
Tab: ITabSheet;
Exp: ITabSheetExporter;
Begin
Tab := (Report.Sheets.Item(0) As IPrxTable).TabSheet;
Exp := New TabSheetExporter.Create;
Exp.TabSheet := Tab;
Exp.ExportObjects := False;
Exp.ExportToFile("c:\Report1.xls", "XLS");
End Sub UserProc;
After executing this example a sheet of regular report is exported to an XLS file. The objects, located on the table sheet, will not exported.
See also: