Hello,
We are having an issue with the SfPdfViewer component with Xamarin Framework.
We cannot use the GoToPage() method at the same time as the PageViewMode : Continuous.
There is no error or exception, it just doesn't work.
After many try the PDF still stays on the first page with the Continuous mode, but with the PageByPage mode it works fine.
Do you have an example of functional code to use its two elements at the same time?
Thanks
Hi,
Thank you for your reply. I downloaded your project and reproduced the bug.
I will give you the steps that I did to reproduce it.
SfPdfViewer package version : v19.1.0.69
Goal: I will be able to be directly on page 5 when opening the PDF.
Steps to reproduce:
1 - Open the project with Visual Studio and set Emulator to Android (Android tablet emulator / Android 10, API 29).
2 – In MainPage.xaml.cs , Add this 3 lines :
I added “Task.delay(5000)” but it is completely optional. The bug still appears.
There is nothing more to do, the page does not open on page 5. It opens on page 1.
With the PageByPage mode it works very well, it opens on page 5.
Here is the code with PageByPage mode:
Hope I was enough specific that you can reproduce the bug.
Thanks!
Thomas