Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual

Page 236

Advertising
background image

FactoryTalk EnergyMetrix Software

236

Instancing

The Col object is a creatable object

Accessing

MPR script code can create Col objects by using one of the AddCol methods of a Grid
object

Properties

Methods

Enums

Days Collection

The Days object is a collection of Day objects. The Days and Day objects provide an easy
way for MPR script code to process data in daily periods.

Instancing

The Days object is a creatable object.

Accessing

The Report object automatically creates one Days object (accessible by using the
Report.Days property) and MPR script code can create additional Days objects if needed.

Property

R/W

Description

Alignment As
TextAlignment

R/W

Controls the alignment of text within the column

HeaderText As String

R/W

The text that will appear in the column header. The
text will automatically word wrap to fit in the
column's specified width

OutputFormat As String

R/W

Sets a custom format to be used for displaying the data
in the rows of the column.

Width As Float

R/W

The width of the column (in inches). The default is
one inch

Method

Description

Col([HeaderText As
String]) As Col

Create a Col object (with the specified header text if the optional
HeaderText string is present)

Enum

Description

TextAlignment.Left
TextAlignment.Center
TextAlignment.Right
TextAlignment.Justify

Controls the alignment of text

Advertising