Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_OutGText Procedure
◄Summary► ◄Details► ◄Example► ◄Back►
Argument
TextString String to be displayed
Description
The _OutGText procedure displays the string TextString on the
screen using the current font, graphics position, and graphics
color.
The current graphics position is used for the upper-left corner of
the first character in the string. After _OutGText displays the
text, it updates the current graphics position to the location of
the lower-right corner of the last character in the string.
Control characters such as ASCII 13 (CR), 10 (LF), and 9 (TAB) are
ignored in the string. You can use the _GetGTextExtent function to
get the pixel length of the string for formatting.
To rotate text displayed with _OutGText, use the _SetGTextVector
procedure.
Note: This procedure operates only in graphics video modes.
Do not try to use it in text modes.
_GrStatus Returns
_GrClipped, _GrNoOutput, _GrNotInProperMode