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

Stimulsoft Reports.BLAZOR discussion
Post Reply
toananha22
Posts: 10
Joined: Thu Jul 27, 2023 2:59 am

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

Post 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 );
}
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello,

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

Thank you.
toananha22
Posts: 10
Joined: Thu Jul 27, 2023 2:59 am

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

Post 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.
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply