How can I get the actual height of RichText


After I insert a paragraph, some buttons, some images to rich text, the rich text show the vertical scrollbar. Now I don't want to show the vertical scrollbar but change the height of rich text to make it fit the text
How can I do that?


MisinformedDNA wrote Jan 28, 2009 at 5:13 PM

Does setting Height="Auto" solve your issue?

RajuHosamani wrote Mar 13, 2009 at 12:02 PM

assignment to m_Scroll.Height give Error message "Value does not fall within the expected range" in update method of RichTextEdit class.

wrote Feb 14, 2013 at 12:41 AM