Text Size Issues in Exported Files

Stimulsoft Reports.NET discussion
Post Reply
Linmayi
Posts: 1
Joined: Fri Apr 18, 2025 6:42 am

Text Size Issues in Exported Files

Post by Linmayi »

Hi everyone,

I'm experiencing a problem with the text size in my exported documents. Here’s the code I’m currently using:

Code: Select all

var reportGenerator = new StiReport();
reportGenerator.Load(@"C:\folder\template.mrt");
var reportDocument = reportGenerator.LoadDocument(@"C:\folder\report.mdc");
reportDocument.ExportDocument(StiExportFormat.Pdf, @"C:\folder\output.pdf");
reportDocument.ExportDocument(StiExportFormat.Html, @"C:\folder\output.html"); 
The PDF output displays the text size correctly, but the HTML version appears to have smaller text. Has anyone faced this issue and found a way to fix it?

Thanks for your assistance!
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: Text Size Issues in Exported Files

Post by Lech Kulikowski »

Hello,

What product and version are you use?

Thank you.
Post Reply