Introduction
This is a handy little function for getting the height of text.
Overview
I have read many articles and asked lots of questions before I found the functions in the dot net library that would help me to achieve this task.
This is also my very first Code Project article. This site has helped me solve MANY problems and I hope that this piece of code helps someone out.
The Code
<BR>
(Thanks for the advice Micheal)
Its pretty straightforward and it creates some pretty cool effects if you use it with the 'Text Changed' event of a text box. Tie that to the 'Resize' event and you can have a form the grows and shrinks as the user is typing in text.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here