IPrxSheets.Insert

Fore Syntax

Insert(Index: Integer, Name: String, [Type: PrxSheetType =1]): IPrxSheet;

Fore.NET Syntax

Insert(Index: integer; Name: string; Type: Prognoz.Platform.Interop.Report.PrxSheetType): Prognoz.Platform.Interop.Report.IPrxSheet;

Parameters

Index. Sheet position index.

Name. New sheet name.

Type. Type of the added sheet. A table sheet is added by default.

Description

The Insert method inserts a new sheet into the position passed by the Index parameter.

Comments

If the Type parameter value is PrxSheetType.Table, the sheet returned by the Insert method can be lead to the IPrxTable interface, if it is PrxSheetType.Document - to the IPrxDocument interface.

Fore and Fore.NET Example

The method use is given in the example for IPrxSheets.Add.

See also:

IPrxSheets | IPrxTable | IPrxDocument