EaxAnalyzer.EaxParams

Syntax

EaxParams() : Array of PP.Mb.Param;

Description

The EaxParams property determines an array of parameters of express report.

Comments

The following methods are used to work with the property:

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Express report should contain report parameters:

// Get instance of express report
eaxAnalyzer = expressBox.getSource(); 
// Get all parameters
allParams = eaxAnalyzer.getEaxParams();
// Get identifier of first parameter
firstId = allParams[0].getId();
// Get parameter by index
firstParam = eaxAnalyzer.getEaxParamById(firstId);
// Create a new parameter based on the previous one
settings = firstParam.getSettings();
settings.Id = "NEWEAXPARAM";
settings.Name = "NewEaxParam";
settings.Metadata.id = "NEWEAXPARAM";
settings.Metadata.n = "NewEaxParam";
settings.Metadata.value = "10";
newParam = new PP.Mb.Param(settings);
// Remove all parameters
eaxAnalyzer.clearEaxParams();
//Add new parameter
eaxAnalyzer.setEaxParam(newParam, settings.Id);

After executing the example the old parameters are removed, and a new parameters is added that is based on the first parameter.

See also:

EaxAnalyzer