beautypg.com

Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual

Page 243

background image

9

ReportsPlus

243

More Information

Consult the Microsoft .NET Framework documentation for more information on the
System.Drawing.Font class including various ways to construct new Font objects

Global Functions and Variables

MPR script may use these functions and variables to format the report output.

Variables

Functions

Grid Object

The Grid object provides a way to output data organized in columns and rows.

Instancing

The Grid object is a creatable object.

Accessing

The Grid object is created by using the New operator.

Variable

R/W

Description

[Functions].CursorPos As
Double

R/W

The current position of the cursor on the report.
The cursor represents the current vertical position
on a report. This can be used to help place objects
on a report

Function

Description

[Functions].GetUnit
(ValueType As Integer)
As String

Get the string value for the engineering units used by ValueType.

For example, Functions.GetUnit(ValueType.RealEnergyNet)
would return kWh

[Functions].MoveCursor
Pos
(Inches As Double)

Move the cursor position by the specified amount (in inches).