C# Application, slow rendering
I'm using the library to develop a C# desktop application. For the moment I just load a pdf document in the viewer on the application start up, but it seems to me it is very slow, both on the initial load and on the form resize. Is it normal or am I doing something wrong? I can post code if needed.
Thank you very much for your project
Can you try the demo application that's part of the project and see if that's slow too for you? The demo application shows how you should use the PdfiumViewer project, so maybe there's a difference to how you're using it, and how the demo application uses the component you can use to help pin down the issue.
I have tested the demo Application with a pdf of size 11MB with only two pages. It takes a lot of time to render the PDF. Also there is a considerable lag every time the pdf viewer is scrolled to a different region.
I think some kind of caching should be done. I have used a different clone of google PDFium project. Its performance is very good. Wish you all good luck for the performance improvement of this PDFViewer.
Could you please make the PDF available? That'll make it a lot easier to diagnose this issue.