Page 1 of 1

How to Save Html without <head><body>....?

Posted: Thu Dec 24, 2009 12:50 am
by cakk
Hi,

When I wanna save to html format, I call:

Code: Select all

Richeditview1.SaveHtmlToStream(...)
The html code will be:
<html>
<head>...</head>
<body>
...(some body content)
</body>
</html>


How can I remove these html tags(html,head,body) when save html, just left the body content?
Thanks!!

Posted: Sat Dec 26, 2009 6:02 pm
by Sergey Tkachenko
Include rvsoMiddleOnly in the Options parameter of SaveHTMLToStream.