Workbook(WorkbookType: MsWorkbookType): IMetabaseObject;
Workbook[WorkbookType: Prognoz.Platform.Interop.Ms.MsWorkbookType]: Prognoz.Platform.Interop.Metabase.IMetabaseObject;
WorkbookType. Workbook data type.
The Workbook property returns the internal workbook with the specified data.
To fill the internal workbook with data, use the following methods:
IMsMetaModelVisualController.FillChain. Calculation chain data. The WorkbookType parameter should be set to MsWorkbookType.Chain.
IMsMetaModelVisualController.FillWithModel. Model data. The WorkbookType parameter should be set to MsWorkbookType.Variable.
IMsMetaModelVisualController.FillWithTargetConstraints. Criterion function constraint data. The WorkbookType parameter should be set to MsWorkbookType.TargetConstraints.
IMsMetaModelVisualController.FillWithTargetProblem. Criterion function data. The WorkbookType parameter should be set to MsWorkbookType.TargetProblem.
IMsMetaModelVisualController.FillWithVariables. Specified variable data. The WorkbookType parameter should be set to MsWorkbookType.Variable.
The property use is given in the example for IMsMetaModelVisualController.FillWithTargetProblem.
See also: