Hello,
I'm using .Net 6 and the Nuget package Stimulsoft.Reports.Web.NetCore (version 2023.1.3) to render my reports and export to PDF.
The image below shows what is happening, even with textbox CanGrow property set to true.
If I use the Preview with the Windows Desktop Designer, it shows texts with right height.
The problem only exists when exporting to PDF.
This is the code I'm using to export.
There is a Visual Studio project attached, with my code, a sample report and random data to show the problem.
When running the project, we can just open the url https://localhost:7231/Reports/GetTestReport and refresh some times to see the height problem.
The attached PDF is what i got with this code.
Can you help me?
Thank you.
CanGrow - Text height is wrong when exporting to PDF
-
- Posts: 10
- Joined: Tue Jan 10, 2023 8:38 pm
- Location: Brazil
CanGrow - Text height is wrong when exporting to PDF
- Attachments
-
- random_data_report.pdf
- (26.18 KiB) Downloaded 97 times
-
- Stimulsoft.Reports.RandomDataTest.zip
- (176.03 KiB) Downloaded 97 times
-
- Posts: 818
- Joined: Tue Sep 07, 2021 10:11 am
Re: CanGrow - Text height is wrong when exporting to PDF
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
-
- Posts: 818
- Joined: Tue Sep 07, 2021 10:11 am
Re: CanGrow - Text height is wrong when exporting to PDF
Hello,
Please use the following code before creating a new report:
Thank you.
Please use the following code before creating a new report:
Code: Select all
Stimulsoft.Drawing.Graphics.GraphicsEngine = Stimulsoft.Drawing.GraphicsEngine.Gdi;
-
- Posts: 10
- Joined: Tue Jan 10, 2023 8:38 pm
- Location: Brazil
Re: CanGrow - Text height is wrong when exporting to PDF
Hello!
Thank you, Max!
It solved the problem.
Thank you, Max!
It solved the problem.
-
- Posts: 6366
- Joined: Tue Mar 20, 2018 5:34 am
Re: CanGrow - Text height is wrong when exporting to PDF
Hello,
You are welcome.
You are welcome.