InsertAfter(Index: Integer; Name: String; [Type: PrxSheetType = 1]): IPrxSheet;
Insert(Index: integer; Name: string; Type: Prognoz.Platform.Interop.Report.PrxSheetType): Prognoz.Platform.Interop.Report.IPrxSheet;
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.
The InsertAfter method inserts a new sheet after the sheet with the Index index.
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.
The example of use is given in description of the IPrxSheets.Add method.
See also: