ITabSheetExporter.ExportObjects

Syntax

ExportObjects: Boolean;

Description

The ExportObjects property determines whether table objects 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. Be default the value is set to True.

Example

This example is supposed to have the Report object of the IPrxReport type.

Sub UserProc;
Var
    Report: IPrxReport;
    Tab: ITabSheet;
    Exp: ITabSheetExporter;
Begin
    Tab := (Report.Sheets.Item(
0As 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:

ITabSheetExporter