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
Rice Textbox not printed on PDF
-
- Posts: 3
- Joined: Fri May 28, 2021 2:53 pm
Rice Textbox not printed on PDF
- Attachments
-
- 1.mrt
- (4.03 KiB) Downloaded 77 times
-
- Posts: 6244
- Joined: Tue Mar 20, 2018 5:34 am
Re: Rice Textbox not printed on PDF
Hello,
Unfortunately, RichText is not supported in the export to PDF in the net core version.
Thank you.
Unfortunately, RichText is not supported in the export to PDF in the net core version.
Thank you.
-
- Posts: 3
- Joined: Fri May 28, 2021 2:53 pm
Re: Rice Textbox not printed on PDF
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
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
-
- Posts: 6244
- Joined: Tue Mar 20, 2018 5:34 am
Re: Rice Textbox not printed on PDF
Hello,
Please check the following samples:
https://github.com/stimulsoft/Samples-N ... rms-CSharp
Thank you.
Please check the following samples:
https://github.com/stimulsoft/Samples-N ... rms-CSharp
Thank you.