IEaxObject.Type

Fore Syntax

Type: EaxObjectType;

Fore.NET Syntax

Type: EaxObjectType;

Description

The Type property determines the type of express report object.

Fore Example

To execute the example add the button to the form; Metabase and Express system assemblies should be connected. The example is the event of clicking the mouse:

    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Object: IEaxObject;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("EXPRESS").Edit;
    Expr := MObj As IEaxAnalyzer;
    Object := Expr.ViewOrder(0);
    Button1.Text := Object.Type.ToString;
    End Sub Button1OnClick;

As a result of the example the name of the button will contain height of the first object of the express report.

See also:

IEaxObject