Previous: 4.37.2.82. OutCharXY procedure To the Table of Contents Next: 4.37.2.84. OutTextXY procedure
4.37.2.82. OutCharXY procedure Table of Contents 4.37.2.84. OutTextXY procedure

- 4.37.2.83. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.83. OutText procedure


4.37.2.83. OutText procedure

Targets: MS-DOS, Win32


Graph Unit

Sends a string to the output device at the current pointer.

Declaration:
procedure OutText(TextString: string);
Remarks:
Displays TextString at the CP using the current justification settings.

TextString is truncated at the viewport border if it is too long.

OutText uses the font set by SetTextStyle. To maintain code compatibility when using several fonts, use the TextWidth and TextHeight calls to determine the dimensions of the string.

OutText uses the output options set by SetTextJustify (justify and center).

The CP is updated by OutText only if the direction is horizontal with left justification. Text output direction is set by SetTextStyle (horizontal or vertical); text justification is set by SetTextJustify (CP at the left of the string, centered around CP, or CP at the right of the string--written above CP, below CP, or centered around CP).


Previous: 4.37.2.82. OutCharXY procedure To the Table of Contents Next: 4.37.2.84. OutTextXY procedure
4.37.2.82. OutCharXY procedure Table of Contents 4.37.2.84. OutTextXY procedure

- 4.37.2.83. -