IPrxSheets.InsertAfter

Fore Syntax

InsertAfter(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. Index of the sheet, after which a new sheet must be inserted.

Name. New sheet name.

Type. The type of added sheet, a table sheet is added by default.

Description

The InsertAfter method inserts a new sheet after the sheet with the Index index.

Comments

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

Fore and Fore.NET Example

The example of use is given in description of the IPrxSheets.Add method.

See also:

IPrxSheets | IPrxTable | IPrxDocument