Type: EaxObjectType;
The Type property determines the type of express report object.
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: