- Web Studio Help
- Appendix: Built-in Scripting Language
- Graphic functions
Graphic functions
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.) - ExecuteCustomCall
The function ExecuteCustomCall invokes custom code in the ActiveX container that contains the ISSymbol control. For example, you can use this function to invoke custom JavaScript on web thin clients. - GetScrInfo
The function GetScrInfo gets information about an open project screen. - PrintSetup
The function PrintSetup displays a standard print setup dialog box on the client, in which the user can select and configure a printer for printing project screens. - PrintWindow
The function 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
SaveScreenShot is a built-in function that takes a screen shot of a project screen and then saves it as 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.
Parent topic: Appendix: Built-in Scripting Language
InduSoft Web Studio -Technical Reference