SfPdfViewer is slow in loading pages during scrolling

I am using SfPdfViewer control in MAUI (Android) app. When scrolling through the doc, after 1-2 pages the SfPdfViewer is slow in loading the new pages and I very frequently hit the load screen. Note that I am not scrolling very fast.

I have attached a sample app which repros the issue and also sharing the screenshot below. I am not using very large pdfs as well. It even repros with < 1 MB files with lot of pages.


I want to know are there any settings/configurations I can use to reduce the loading screens, maybe like disable lazy loading or load the whole book, pre-fetching of the pages to reduce page load time, etc? I tried searching for something but couldn't find.

At this point due to the performance, it's difficult to integrate in my app. So, any help on improving the performance would be really helpful.

Screenshot_20250330-124200.png


Attachment: PdfTest_a0fe10dd.zip

2 Replies

MM Manikandan Manickavasagam Syncfusion Team March 31, 2025 01:47 PM UTC

Hi Optimilia

We were able to replicate the issue “Delay in rendering PDF pages even with slow scrolling“. We are currently in the process of validating the issue and will provide more details once completed the validation.

Regards,

Manikandan M



BS Bharathi Selvam Syncfusion Team April 10, 2025 07:30 AM UTC

Hi Optimilia,

Upon further analysis, we observed that the provided document contains large, high-resolution images. Our control relies on the native Android graphics for rendering images from the PDF stream, which is already optimized to a significant extent. Due to the size and resolution of these images, the processing time may be longer than usual. This behavior is expected for documents of this nature, and the current processing time aligns with our performance expectations for such cases.

Please find the document details for reference.

image


Regards,

Bharathi S


Loader.
Up arrow icon