IMatrixFactory.CreateExtendInfo

Fore Syntax

CreateExtendInfo: IMatrixExtendInfo;

Fore.NET Syntax

CreateExtendInfo(): Prognoz.Platform.Interop.Matrix.IMatrixExtendInfo;

Description

The CreateExtendInfo method creates advanced parameters of data matrix.

Fore Example

To execute the example, add links to the Matrix, Dimensions system assemblies.

Function UserProc(SelSet: IDimSelectionSet): IMatrixExtendInfo;
Var
    result: IMatrixExtendInfo;
    MatrixFact: IMatrixFactory;
    i: Integer;
    j: IDimSelection;
Begin
    MatrixFact := New (MatrixFactory.Create) As IMatrixFactory;
    result := MatrixFact.CreateExtendInfo;
    If SelSet.Count > 0 Then
        For i := 0 To SelSet.Count - 1 Do
            result.Add(SelSet.Item(i));
        End For;
    End If;
    Return result;
End Function UserProc;

Function execution result: creation of advanced parameters of matrix by the set of selections specified by the SelSet parameter.

Fore.NET Example

To execute the example, add links to the Matrix, Dimensions system assemblies.

Imports Prognoz.Platform.Interop.Matrix;
Imports Prognoz.Platform.Interop.Dimensions;
Imports Prognoz.Platform.Interop.ForeSystem;

Public Shared Function UserProc(SelSet: IDimSelectionSet): IMatrixExtendInfo;
Var
    result: IMatrixExtendInfo;
    MatrixFact: IMatrixFactory;
    i: Integer;
    j: IDimSelection;
Begin
    MatrixFact := (New MatrixFactory.Create()) As IMatrixFactory;
    result := MatrixFact.CreateExtendInfo();
    If SelSet.Count > 0 Then
        For i := 0 To SelSet.Count - 1 Do
            result.Add(SelSet.Item[i]);
        End For;
    End If;
    Return result;
End Function;

Function execution results: creation of advanced parameters of matrix by the set of selections specified by the SelSet parameter.

See also:

IMatrixFactory