How do i get to know the exact RTF text height in an RTF so that i can set the RTF height correctly.


Requirement:

I need to resize the rtf depending on the text that is entered in the rich text box or inserted onto the rtf directly from the DB. The purpose of the rtf is to provide the user of a editor, where the user can use all the text formatting features. So i need to resize the correctly, so that no extra lines are visible to the user.


I would be very very greatfull to all those who can help me on this issue as i am in a very desperate situation.


pls e-mail if u need more description.


Thanks

Bimlesh