Page 1 of 1

Exporting to PDF with multi-page reports takes a lot of time

Posted: Tue Jun 04, 2024 7:27 am
by toananha22
Currently, I am exporting my report to a PDF with over 300 pages, but it takes up to 7 minutes. Previously, when I used Report.Web, it only took a few tens of seconds. Do you have any suggestions for my issue, or is it really that much slower running on Reports.Blazor?
Here is the code I am using to export:

Code: Select all

var settingPDF = new StiPdfExportSetting()
{
	Compressed = true,
	UseUnicode = true
};

using(var stream = new MemoryStream())
{
	this.Report.ExportDocument(StiExportFormat.Pdf, stream, settingPDF );
}

Re: Exporting to PDF with multi-page reports takes a lot of time

Posted: Tue Jun 04, 2024 8:54 am
by Lech Kulikowski
Hello,

Could you send us your report with test data for analysis?

Thank you.

Re: Exporting to PDF with multi-page reports takes a lot of time

Posted: Wed Jun 05, 2024 6:58 am
by toananha22
Hello,

Due to company security reasons, I am not allowed to publish that information. However, I just want to know if the required time is normal?

Thank you.

Re: Exporting to PDF with multi-page reports takes a lot of time

Posted: Wed Jun 05, 2024 7:29 am
by Lech Kulikowski
Hello,

No. But without a sample, it is difficult to say exactly.

Thank you.