![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, MeasureString takes only a string as an argument with specified formatting etc. Is it possible (or is anyone aware of any utils) that enable you to measure the size of strings with inline formatting. ie "this is normal. <b>this is bold</b>. this is normal." ..........is different from "this is normal. this is bold. this is normal." (please imagine formatting and not mark up if this isn't displaying correctly!) I need to know the height of some text which has inline formatting - I know the width it needs to fit into. Obviosuly if some text is bold or italic, it will fill more horizontal space and possbly increase the overall height given a fixed width. Any ideas / pointers greatly apprecitated Sparkesy. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |