Encyclopedia > TextOut

  Article Content

TextOut

In computing, TextOut is one of 6 text output functions in the GDI component of the Windows API. It takes an ASCII or Unicode string, and draws it on a graphical device such as a screen. It is the most simple of the 6, requiring only 5 parameters, but it does not appear to be the most commonly used: ExtTextOut[?] provides support for bounding rectangles which is necessary in most applications. DrawText[?] and DrawTextEx[?] provide many complex alignment and formatting options not available in TextOut. PolyTextOut[?] and TabbedTextOut[?] also have their own advantages.

Example TextOut (hDC, 10, 10, "Hello, Wikipedia", 16);

External Links http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_5yd0.asp



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Bugatti

... 35 Grand Prix car, the huge "Royale[?]", and the Type 55 sports car. Bugatti also designed a successful motorized railcar, the Autorail, and an airplane, but it never ...

 
 
 
This page was created in 37.9 ms