![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like to measure the height of wrapped text (of specified font type and size etc). I know of the GetHeight method but how can I use it for a number of lines even if the number of lines is known, I suspect that multiplying the number of lines by the font height will not return the correct value Thank you, Samuel |
#3
| |||
| |||
|
|
Try using the System.Drawing.Graphics.measureString method http://msdn2.microsoft.com/en-us/lib...urestring.aspx "Samuel" <samuel.shulman (AT) ntlworld (DOT) com> wrote in message news:u6ofzQPhHHA.4952 (AT) TK2MSFTNGP02 (DOT) phx.gbl... I would like to measure the height of wrapped text (of specified font type and size etc). I know of the GetHeight method but how can I use it for a number of lines even if the number of lines is known, I suspect that multiplying the number of lines by the font height will not return the correct value Thank you, Samuel |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |