Page 1 of 1

How to remove format of selected text?

Posted: Thu Dec 24, 2009 12:55 am
by cakk
When I selected some text, I want remove any format of it, just like plain text. How can I do it?

Thanks~~~~

Posted: Sat Dec 26, 2009 6:06 pm
by Sergey Tkachenko
Do you want to remove all non-text content (such as images, bullets and numbering)? Hyperlinks? What do you want to do with tables?

Posted: Tue Jan 05, 2010 8:05 am
by cakk
I means, remove any font style of the selected text. Just like:

This is a test.

after remove the font style:

This is a test.

Posted: Tue Jan 05, 2010 8:09 am
by Sergey Tkachenko

Code: Select all

RichViewEdit1.ApplyTextStyle(0);

Posted: Sat Jan 16, 2010 5:03 pm
by cakk
Thanks!