CanGrow - Text height is wrong when exporting to PDF
Posted: Tue Jan 10, 2023 9:06 pm
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.
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.