Page 1 of 1

Rice Textbox not printed on PDF

Posted: Fri May 28, 2021 3:02 pm
by info@teamware.eu
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

Re: Rice Textbox not printed on PDF

Posted: Mon May 31, 2021 8:23 pm
by Lech Kulikowski
Hello,

Unfortunately, RichText is not supported in the export to PDF in the net core version.

Thank you.

Re: Rice Textbox not printed on PDF

Posted: Tue Jun 01, 2021 6:50 am
by info@teamware.eu
OK, I understand.

Is there any recommendation for a workaround to work with .net 5.0, rich text and PDF? Will it work in the near future?
.net 4.x and .net Core are dying ...

I had used the report generator with my previous company for many years, and was always excited about it.

I am not clear now if I need to look for another report generator???
If I have a report generator that doesn't really work with .net, it doesn't really help me because my customers expect results.

With best regards

Re: Rice Textbox not printed on PDF

Posted: Tue Jun 01, 2021 9:29 pm
by Lech Kulikowski
Hello,

Please check the following samples:
https://github.com/stimulsoft/Samples-N ... rms-CSharp

Thank you.