These functions are used to manipulate and
print project screens.
AutoFormat
Automatically formats a real number to a preset number of decimal
places, according to the virtual table of settings created by the
SetDecimalPoints function.
(This is similar to the Format
function, except that you do not need to specify the number of
decimal places.)
GetScrInfo
Retrieves information from the project about an open screen.
PrintSetup
Opens the standard setup dialog from the operating system, from
where the printer can be selected and configured.
PrintWindow
Prints a screenshot of a project screen. The screen does not need
to be open and active; the function can print a screen running in
the background or even closed screen file.
ResetDecimalPointsTable
Resets the virtual table of settings created by the SetDecimalPoints function.
RGBColor
Returns the number of the color defined by the RGB (Red, Green,
Blue) codes.
RGBComponent RGBComponent is a built-in
scripting function that gets the level of a color component (red,
green, or blue) in a specified color.
SaveScreenShot
This function takes a screen shot of the project screen and saves
it to an image file.
SetDecimalPoints
Sets the number of decimal places to be displayed, for a specified
range of real numbers. This setting will be used by all screen
objects and animations that have the Auto Format option enabled, as well as by the
AutoFormat function.
SetDisplayUnit
Finds all tags and all Grid object and Trend Control object values
that have a specific engineering unit (as stored in the
Unit tag field), and then sets the
DisplayUnit, UnitDiv, and UnitAdd
fields on those tags.
SetTagDisplayUnit
Sets the DisplayUnit, UnitDiv, and UnitAdd
properties on a specific tag.