[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
GetTextSettings procedure
DECLARATION: GetTextSettings(Var TextInfo : TextSettingsType);
PURPOSE: Returns the current text font, size, direction, size
and justification as set by SetTextStyle and SetTextJustify.
UNIT: Graph
REMARKS: The following Types and Constants are defined:
Type
TextSettingsType = Record
Font : Word;
Direction : Word;
CharSize : Word;
Horiz : Word;
Vert : Word;
End;
Const
DefaultFont = 0; { 8x8 bit mapped font }
TriplexFont = 1; { "Stroked" fonts }
SmallFont = 2;
SansSerifFont = 3;
GothicFont = 4;
HorizDir = 0; { Left to Right }
VertDir = 1; { Bottom to Top }
RESTRICTIONS: Must first be in graphics mode.
See Also:
InitGraph
SetTextJustify
SetTextStyle
TextHeight
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson