Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual
Page 244

FactoryTalk EnergyMetrix Software
244
Properties
Methods
Enums
Groups Collection
The Groups object is a collection of Group objects.
Instancing
The Groups object is a creatable object.
Accessing
The Report object automatically creates Groups objects (accessible by using the
Report.Groups and group.Groups properties) and MPR script code can create additional
Groups objects if needed.
Using nested groups requires recursion to traverse all selected children groups. See the
example in the
topic.
Property
R/W
Description
Cols As ArrayList
R
The collection of Col objects contained in the grid
FontSize As Integer
R/W
The font size (in points) for grid text. Default is 10
HeaderHeight As Float
R/W
The height of the column headers (in inches).
Default is .125
Rows As ArrayList
R
The collection of Row objects contained in the grid
ShowHorizontalLines As
Boolean
R/W
Controls the display of horizontal grid lines. Default
is False
ShowVerticalLines As
Boolean
R/W
Controls the display of vertical grid lines. Default is
False
Method
Description
AddCol([HeaderText As
String]) As Col
Add a Col object to the grid (and set the header text to the
optional HeaderText string if present)
AddRow() As Row
Add a Row object to the grid
Grid() As Grid
Create a Grid object
Sort(ColIndex As Integer,
SortOrder As SortOrder)
Sort the grid by the specified column and sort order
Property
R/W
Description
Group(index) As Group
R
Collection of Group objects that represent the
groups that are selected in the report's groups/
meters tree