Get selected text as HTML
Posted: Mon Jun 16, 2014 5:21 pm
I know I can use SaveHTML to export everything in the TRichViewEdit to HTML.
I want exactly the same thing but with the selected text only. Is there a way to do this ?
I could create a second RichView and Copy/Paste the selected text in the other one and call SaveHTML. But I don't want to use the user clipboard to do it.
I want exactly the same thing but with the selected text only. Is there a way to do this ?
I could create a second RichView and Copy/Paste the selected text in the other one and call SaveHTML. But I don't want to use the user clipboard to do it.