ILaner.Attributes

Syntax

Attributes: ILanerAttributes;

Description

The Attributes property returns a collection of series attributes.

Comments

The property is outdated, use ILaner.AttributeColumns.

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for TabSheetBox. Working area of the time series database must be loaded to UiErAnalyzer1.

Click the button to start executing this example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

ErAn: IEaxAnalyzer;

Laner: ILaner;

Rubrikator: IRubricator;

RubInstance: IRubricatorInstance;

Attr: IMetaAttributes;

LanerAttr: ILanerAttributes;

Begin

ErAn := UiErAnalyzer1.ErAnalyzer;

Laner := ErAn.Laner;

Laner.BeginUpdate;

RubInstance := Laner.RubricatorInstance;

Rubrikator := RubInstance.Rubricator;

// Additional attribute displaying

LanerAttr := Laner.Attributes;

Attr := Rubrikator.Facts.Attributes;

LanerAttr.Add(Attr.FindById("REV"));

Laner.EndUpdate;

End Sub Button1OnClick;

After executing this example the additional Revision attribute is displayed for series in the data table.

See also:

ILaner