Insert(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. Sheet position index.
Name. New sheet name.
Type. Type of the added sheet. A table sheet is added by default.
The Insert method inserts a new sheet into the position passed by the Index parameter.
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.
The method use is given in the example for IPrxSheets.Add.
See also: