Hi,
Recently I have upgraded Aspose, as there were top margin issues with 6.6 build.
Here is my code -
Document adapterPDF;
Page mainSection = adapterPDF.Pages.Add();
Aspose.Pdf.Table mainTable = new Aspose.Pdf.Table();
Aspose.Pdf.Row mainRow = mainTable.Rows.Add();
TextFragment s = new TextFragment("sss");
mainRow.Cells.Add().Paragraphs.Add(s);
mainSection.Paragraphs.Add(mainTable);
My issue is that, the html text is not recognized. I am getting sss as the cell text. The text is not displayed as bold.
In earlier version, we had Aspose.Pdf.Generator.Text which had IsHtmlSupported property. How can I set this to TextFragment.
Please suggest
Thanks,
Sharanya
↧