We are trying to export content to pdf format. We have some issues to convert the html tables to pdf. The sample code is as follows:
Hi Dayana,
I'm just checking if you need any further assistance with the matter.
Hello Dayana,
The AddRichContent method can be used only for exporting html formatted text, not layout. For example, you can export strings containing html tags like <b>, <i>, <font> etc. but layout formatting won’t be applied, which is the case with <table>. If you want to create a table in the pdf from string, you could create ITable element in your report. Then parse the string and for each row and cell, create ITableRow and ITableCell elements. More information on this matter can be found here - http://ko.infragistics.com/community/blogs/sung_kim/archive/2009/02/18/publishing-dynamic-files-pdf-xps-creation-using-the-infragistics-document-library.aspx.
Please let me know if you have any further questions.