Page 1 of 1

How to convert html to rtf

Posted: Tue Aug 28, 2007 10:40 am
by iomega55
I have a column in my table in which a store information in html format. So I want to use the library from:

http://forum.stimulsoft.com/Default.aspx?g=posts&t=804


to convert from html to rtf and print it in my PDF report. How can I do this using the library but inside the report, because I have some rows in my table, and I want to print all the records with their html field included.

Thanks again.

How to convert html to rtf

Posted: Wed Aug 29, 2007 6:34 am
by Edward
iomega55 wrote:to convert from html to rtf and print it in my PDF report. How can I do this using the library but inside the report, because I have some rows in my table, and I want to print all the records with their html field included.
So you need to do some modifications in the library. Please define a static method there, which will return a text in rtf format.

In the Report.ReferencedAssemblies in the Designer add reference to that library. This library have to be placed in the folder with StimulReport.Net dlls.

RichText has a property RtfText in which the text in the RTF format could be saved.

Thank you.