Hello HiperiX,
to get the length in pixel u need to know the font which will be used in
rendering your text.
I general the the Graphics.MeasureString method do it
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
HHello,
H>
HI am workin' on creating web from as pdf file.
H>
HMy pdf file size is 595 x 820 points. Can anybody tell how can I
Hcount the length of my string in points?
H>
Hstring x;
Hint y;
Hy = x.Length; // gives me length in symbols, but I need string length
Hin
Hpoints. Can anybody help with this?
HThank you ;)
H>