Hi,
Thank you for the sample.
The issue “Application crashes with Index was out of the range exception while performing text search” is raise only for one document, for other pdf files it work as expected. I suspect the document to be currupted.
Howewer for some very large pdf files the loading time is smaller when I am not using the pdfium library.
I am loading PDF file with a list view, each items represent a pdf file, When clicking on an item my app is pushing the pdfviewer page where I load my pdf file.
With : pdfViewerControl.LoadDocument(fileStream);
I made some tests and it took 8 seconds to load the pdf file without using the pdfium library and 14 seconds to load with the pdfium library. (Tested on Redmi Note 7)
I uploaded the pdf file to show the issue. I don't know if I am allowed to share the document via Google Drive, Rar file is too large > 150 mb.
https://drive.google.com/file/d/19w1kgnVPWPxzpRLyuVMY2jQMcawiTty6/view?usp=sharing
Tell me if you need more explanation about this issue.
I am using the latest Version of sfpdfviewer