Re: How to get the pixel width of a string?

From: Fabian Schmied (REMOVETHISfabianDOTschmied_at_fhs-hagenbergDOTacDOTat)
Date: 10/18/04


Date: Mon, 18 Oct 2004 18:53:53 +0200


> I am trying to get the pixel width of a string. It's probably a very
> simple
> task, but I cannot figure it out easily.
> The class I am using is: System.Drawing.Font

This is not a DirectX question, but a GDI+ question. (Hint: Take a look at
Graphics.MeasureString.)

Fabian