ITabSheetExporter.TabSheet

Syntax

TabSheet: ITabSheet;

Description

The TabSheet property determines the table to be exported.

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(0) As IPrxTable).TabSheet;

Exp := New TabSheetExporter.Create;

Exp.TabSheet := Tab;

Exp.ExportObjects := False;

Exp.ExportToFile("c:\Report1.xls", "XLS");

End Sub UserProc;

As a result the regular report sheet will be exported to an XLS file. The objects, located on the table sheet, will not exported.

See also:

ITabSheetExporter