Text

Deprecated. Do not use in new code.

(Engine-Level Function)

Description Displays text in a window.
Returns Nothing
Usage Steady State only.
Function Groups Graphics
Related to: GUIText | Output | TextAttribs | ZText
Format: Text(X, Y, Value, Foreground, Fill, Background, Size, Obsolete)
Parameters  
X
Required. Any numeric expression giving the X screen coordinate of the lower left corner of the text on the screen.
Y
Required. Any numeric expression giving the Y screen coordinate of the lower left corner of the text on the screen.
Value
Required. Any text expression giving the value to display.
Foreground
Required. Any numeric expression giving the color of the characters to display.
Fill
Obsolete - set to zero.
Background
Required. Any numeric expression giving the color of the background area for the output characters.
Size
Required. Any numeric expression giving the height of the characters in units of Y screen coordinates. If this value results in a specification of less than 12 screen pixels high, the text will be the small text (8 pixels high). Otherwise, the text will be the large text. If Size is negative, it will be interpreted as a dot text output of size equivalent to the absolute value of the size. The number will be displayed to the nearest multiple of the base 8 pixel by 8 pixel text. This produces faster, non-destructive large characters than the normal large text characters.
Setting size greater than 12 results in non-XOR drawing.
Obsolete
No longer used, but is maintained for backward compatibility with previous versions of VTScada. Set to 0.
Comments

This statement has been superseded by the GUIText and ZText statements and is maintained for backwards compatibility only.
As of version 11, this is now drawn in the same z-order as other graphics, making it similar to the z-graphics functions.

Within an Anywhere Client session, this function does nothing.