Hi,
have a look at Graphics.MeasureString
Hope this helps
Greetz Peter
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"Pete Smith" <Pe*********@hotmail.com> schreef in bericht
news:eu*************@tk2msftngp13.phx.gbl...
How to calculate how much space (in pixels) is consumed for a given # of
characters while printing? I have allotted a square area for printing some
text and not sure whether it fits in one line or not. Thank you,
vb.net and Net Framework 1.1.
Pete