EaxAnalyzer.ViewSize

Syntax

ViewSize: Object

Description

The ViewSize property contains express report visualizer size on using vertical or horizontal layout of visualizers.

Comments

The property is relevant if visualizers are located vertically or horizontally, and visualizer size is changed.

Use JSON or the setViewSize(value, objType) method to set the property value, and the getViewSize(objType) method to get the property value.

Parameters:

value. Object. Set value.

objType. PP.Exp.Ui.EaxObjectType. Visualizer type.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Visualizers should be displayed horizontally in the report, and the table should be resized:

var eaxAnalyzer = expressBox.getSource();
// Get current table size
eaxAnalyzer.getViewSize(PP.Exp.Ui.EaxObjectType.Grid);
// -> Object {Width: 1318, Height: 210, Units: "DLU96"}

After executing the example a visual table size is obtained.

See also:

EaxAnalyzer