How to convert html to rtf

Stimulsoft Reports.NET discussion
Post Reply
iomega55
Posts: 29
Joined: Sat Sep 23, 2006 1:37 am

How to convert html to rtf

Post 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.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

How to convert html to rtf

Post 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.
Post Reply