Re: Font representation

Tech-Archive recommends: Fix windows errors by optimizing your registry



No need to ask:

http://msdn2.microsoft.com/en-us/system.drawing.stringformat.aspx
http://msdn2.microsoft.com/en-us/library/system.windows.forms.textformatflags.aspx

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

I recycle.
I send everything back to the planet it came from.

"Andrey Dzizenko" <A.Dzizenko@xxxxxxxxxxxxxxxxxx> wrote in message
news:op.tbhrnbtwdn0034@xxxxxxxxxxxxxxxxxxx
Both DrawString and DrawText don't take as a parameter char width or char
spacing. Ain't I right?


On Wed, 21 Jun 2006 13:54:00 +0400, Kevin Spencer <uce@xxxxxxx> wrote:

You'll have to be more specific. You can draw text in all sorts of ways.
For
example, the Graphics.DrawString method has several overloads that take a
StringFormat instance as a parameter. The StringFormat class is used to
tweak the formatting of the string being drawn. The TextRenderer.DrawText
method has several overloads that take a TxtFormatFlags parameter that
allows tweaking of the text being drawn.




.



Relevant Pages

  • Re: Font representation
    ... Both DrawString and DrawText don't take as a parameter char width or char spacing. ... the Graphics.DrawString method has several overloads that take a ... StringFormat instance as a parameter. ... tweak the formatting of the string being drawn. ...
    (microsoft.public.dotnet.framework)
  • Re: Font representation
    ... the Graphics.DrawString method has several overloads that take a ... StringFormat instance as a parameter. ... Is there any method to draw text that looks like in MS ... There's an idea that it's caused by differences of GDI and GDI+. ...
    (microsoft.public.dotnet.framework)