ITabSheetExporter.TabSheet

Syntax

TabSheet: ITabSheet;

Description

The TabSheet property determines the table to be exported.

Example

This example assumes that an object Report of the type IPrxReport 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;

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