Previous: OutCharXY procedure To the Table of Content Next: OutTextXY procedure

- 4.37.2.83 -
Standard Units
Graph Unit
Graph Unit Procedures and Functions

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: OutCharXY procedure To the Table of Content Next: OutTextXY procedure
OutCharXY procedure Table of Content OutTextXY procedure

- 4.37.2.83 -