Hello,
I want print rictext data (bold, italic and underline format) in asp.net mvc and angular 6.
But italic and underline is not gettting printed. It prints normal text not underline ot italic.
like my rtf input is , this is an application. I want to print this. But its not printting italic and underline.
My MVC code is
In datatable object dt, RTF format data is there.
- da.Fill(dt);
- ReportDocument cryRpt = new ReportDocument();
- cryRpt.Load("C:/Report/somefile.rpt");
- cryRpt.SetDataSource(dt);
- cryRpt.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, "C:/Report/somefile.pdf");
- var bytes = File.ReadAllBytes("C:/Report/somefile.pdf");
- result1 = Convert.ToBase64String(bytes);
- const win = window.open('', '_blank');
- let html = '';
- html += '';
- html += '';
- html += '
- html += '';
- html += '';
- win.document.write(html);
please help. Thank you in advance.
dip sPosted Mar 23, 2020, 6:12 AM
my name is dip
dip sPosted Mar 23, 2020, 3:48 AM
Jignesh KumarPosted Mar 23, 2020, 2:59 AM
Vinay SinghPosted Mar 23, 2020, 1:08 AM