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

General TRichView support forum. Please post your questions here
Post Reply
cakk
Posts: 14
Joined: Thu Dec 17, 2009 2:35 am

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

Post 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!!
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Include rvsoMiddleOnly in the Options parameter of SaveHTMLToStream.
Post Reply