IEaxTableStyle.Clone

Syntax

Clone: IEaxTableStyle;

Description

The Clone method creates a copy of formatting of express report table.

Example

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Grid: IEaxGrid;
    Style, CloneStyle: IEaxTableStyle;
Begin
    MB := MetabaseClass.Active;
    Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
    Grid := Expr.Grid;
    Style := Grid.Style;
    CloneStyle := Style.Clone;
End Sub UserProc;

After executing the example the CloneStyle variable will contain a copy of express report table formatting. Express report identifier - EXPRESS_REPORT.

See also:

IEaxTableStyle