C# Drawstring Letter Spacing
Posted
by beckelmw
on Stack Overflow
See other posts from Stack Overflow
or by beckelmw
Published on 2010-06-03T19:32:21Z
Indexed on
2010/06/03
19:34 UTC
Read the original article
Hit count: 750
c#
|system.drawing
Is is somehow possible to control letter spacing when using Graphics.DrawString? I cannot find any overload to DrawString or Font that would allow me to do so.
g.DrawString("MyString", new Font("Courier", 44, GraphicsUnit.Pixel), Brushes.Black, new PointF(262, 638));
By letter spacing I mean the distance between letters. With spacing MyString could look like M y S t r i n g if I added enough space.
© Stack Overflow or respective owner