Text 

                        (Obsolete)

Description:              This statement displays text in a window.

Returns:                    Nothing

Usage:                       Steady State

Format:                      Text(X, Y, Value, Foreground, Fill, Background, Size, Obsolete)

Parameters:             X     { numeric }  { required }  { no default: }

                                                Any numeric expression giving the X screen coordinate of the lower left corner of the text on the screen.

                                    Y     { numeric }  { required }  { no default: }

                                                Any numeric expression giving the Y screen coordinate of the lower left corner of the text on the screen.

                                    Value     { text }  { required }  { no default: }

                                                Any text expression giving the value to be displayed.

                                    Foreground     { numeric }  { required }  { no default: }

                                                Any numeric expression giving the color of the characters to be displayed.

                                    Fill     { numeric }  { required }  { no default: }

                                                Any numeric expression giving the color of the interior of large characters. This parameter is ignored for small characters.

                                    Background     { numeric }  { required }  { no default: }

                                                Any numeric expression giving the color of the background area for the output characters.

                                    Size     { numeric }  { required }  { no default: }

                                                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.

                                    Obsolete is no longer used, but is maintained for backward compatibility with previous versions of VTS; set to 0.

Comments:               This statement has been superseded by the GUIText and ZText statements and is maintained for backwards compatibility only.

                             It is a non-destructive graphic statement that exclusive OR's with the existing background.

Example:

Text(10, 110 { Lower left corner of text },

     "Alarms" { Text to display }, 

     15 { Outlined in white }, 

     12 { Filled in light red }, 

     0 { Black background }, 

     100, 0 { Size of text }); 

This displays a large message starting in the upper left corner of the screen. The text will be 100 pixels high, drawn using stroke text. This means this is a destructive graphics statement. The outline will be white, with a bright red interior and a black background.

See Also:

GUIText | Output | Table | TextAttribs | ZText