all groups > dotnet windows forms > july 2007 >
You're in the

dotnet windows forms

group:

Character spacing when printing


Character spacing when printing Lorenzo
7/26/2007 6:56:31 PM
dotnet windows forms: Hi everybody.

I've been searching but I can't find if is it possible and, if so, how
to set the space between characters (I have to fill in a already printed
form and every single character must fall in its own little square).
I thought it was possible to set something with System.Drawing.Fon, but
nothing seems to work...

Hope someone could help me.

Thank you very much,
Re: Character spacing when printing Bob Powell [MVP]
7/26/2007 11:06:55 PM
In this case it would be better to break the string into characters and
print each character in a specific position using DrawString.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





[quoted text, click to view]
Re: Character spacing when printing Lorenzo
7/27/2007 12:00:00 AM
Ok... what I was already doing, even if hoping in another way.
Thak you very much,

Lorenzo


Bob Powell [MVP] ha scritto:
[quoted text, click to view]
AddThis Social Bookmark Button