TextRenderer.DrawText() does not work on my Web application?
<p>I have to render text into GDI(not GDI+) and save as image in C#.NET web application not windows application, SO for that I have chosen <code>TextRenderer.DrawText()</code>, to render the text into GDI, But I am getting an red lined highlight below the <code>TextRenderer</code> with message  if mouse over <strong>"The name 'TextRenderer' does not exist in the current context"</strong> . here my code is:</p>

<pre><code>Bitmap Bit = new Bitmap(1000,500);
Graphics g = Graphics.FromImage(Bit);
g.Clear(Color.Red);
TextRenderer.DrawText(graphics, myText, new Font("Ariel", 50, FontStyle.Regular), new Point(20, 20), Color.Black, Color.Gold);
Bit.Save(pathToSaveImg + "image.png", ImageFormat.Png);
Bit.Dispose();
</code></pre>

<p>So PLEASE help if any Thanks.</p>
