ILanerBox.ExecuteMethod

Syntax

ExecuteMethod(Method: LanerBoxMethod;[ Param: Variant = Null;][ TrySelfExecute: Boolean = False]): Variant;

Parameters

Method. Series transformation method.

Param. This is an optional parameter. Parameters of series trnasformation. It is used if the Method parameter is set to LanerBoxMethod.TermInfoMethod. Method parameters are passed as an array containing four elements at maximum:

TrySelfExecute. It determines whether to create a new calculated series or to convert the current series to a calculated one True - the current series will be converted to a calculated one, False - a new calculated series will be created. This parameter is optional, it default value is False.

NOTE. This method is outdated, use ILanerBox.ExecuteMethodEx instead.

Description

The ExecuteMethod method transforms a selected data series using a specified method.

Example

Executing the example requires a form with a button on named Button1, the LanerBox component named LanerBox1 and the UiErAnalyzer component which is used as a data source for LanerBox. The workbook of time series database is to be loaded to the UiErAnalyzer1.

This example is executed on clicking the button.

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

Begin

LanerBox1.ExecuteMethod(LanerBoxMethod.Ln, Null,True);

End Sub Button1OnClick;

After executing the example selected workbook series are to be converted to calculated series calculated using natural logarithm.

See also:

ILanerBox