We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Auto Size Text Box

Does anyone have any ideas on how to perfectly resize the MSFT RichEdit control to fit the text contents. I''ve tried many variations of GDI+ MeasureString to no avail. I think the issue is that the RichTextBox uses GDI for rendering purposes and I''m trying to use GDI+ to measure stuff, but I would think it would be close enough. At times it is! All ideas and suggestions welcome! Thanks, Steve

Loader.
Live Chat Icon For mobile
Up arrow icon