Richtext box question

lothos12345

Junior Contributor
Joined
May 2, 2002
Messages
294
Location
Texas
Is there a way to resize a richtextbox based on the amount of lines/characters it contains? Any help given is greatly appreciated.
 
If the text is not formatted then you can use the Graphics.MeasureString to find the size of the text. If it is formatted, I think that there is some kind of API that can measure it, but I'm not sure.
 
Back
Top