<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I use D7 and the latest version of Graphics32. I have had problems with
TextOut on a TBitmap32 in the past too, where it would always draw a
black box as the background underneath the text. I tried playing around
setting the brush fill style and a few other things (this was a while
back), but without luck.<br>
<br>
However, the RenderText method worked for me. RenderText renders nicer,
but it is a little slower because it can use antialiasing. But you can
set the level of antialiasing used, so it shouldn't really be a problem.<br>
<br>
RenderText is declared in the help file as:<br>
<br>
<b>procedure</b> RenderText(&nbsp;X, Y: <strong>Integer</strong>;&nbsp;<b>const</b>
Text: <strong>String</strong>;&nbsp;AALevel: <strong>Integer</strong>;&nbsp;Color:
<a href="../../../../GR32/Types/Color%20Types.htm#TColor32"><strong>TColor32</strong></a>);
<br>
</body>
</html>