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

From: Luca (
Date: 10/18/04

Date: Mon, 18 Oct 2004 18:45:29 +0100

Thanks Fabian!
I got it. Now I have another related question.
I am working with the managed Direct 3D framework. How do I create a
System.Drawing.Graphics from a Direct3D Device?

Thanks again.

"Fabian Schmied" <REMOVETHISfabianDOTschmied@fhs-hagenbergDOTacDOTat> wrote
in message
>> 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