Rice Textbox not printed on PDF
Posted: Fri May 28, 2021 3:02 pm
Hello!
I create a report with Stimulsoft Designer and generate a PDF from it (see attachment). Everything works correctly.
Then I open the same report with C# (.net 5.0 - Stimulsoft.Reports.Web.NetCore 2021.3.1) and save the file as PDF as well as RTF.
Stimulsoft.Base.StiLicense.LoadFromFile("License/license.key");
StiReport report = new StiReport();
report.Load(@"D:/.../report/1.mrt");
report.Render();
report.ReportName = filename;
report.ExportDocument(StiExportFormat.Pdf, @"D:/.../tempdownload/1.pdf");
report.ExportDocument(StiExportFormat.Rtf, @"D:/.../tempdownload/1.rtf");
In RTF document Textbox and Rich Text are rendered
In PDF rich text is not rendered.
TX
I create a report with Stimulsoft Designer and generate a PDF from it (see attachment). Everything works correctly.
Then I open the same report with C# (.net 5.0 - Stimulsoft.Reports.Web.NetCore 2021.3.1) and save the file as PDF as well as RTF.
Stimulsoft.Base.StiLicense.LoadFromFile("License/license.key");
StiReport report = new StiReport();
report.Load(@"D:/.../report/1.mrt");
report.Render();
report.ReportName = filename;
report.ExportDocument(StiExportFormat.Pdf, @"D:/.../tempdownload/1.pdf");
report.ExportDocument(StiExportFormat.Rtf, @"D:/.../tempdownload/1.rtf");
In RTF document Textbox and Rich Text are rendered
In PDF rich text is not rendered.
TX