Posted 6 May 2021, 2:47 am EST
Hello, I did not find how to programmatically display a specific page number of a pdf in a FlexViewer.
The issue is that I display a pdf in a FlexViewer which is in a TabItem in a TabControl. If I manually display the page 5 of the pdf by scrolling, and then I switch tabs (the FlexViewer is not visible anymore), and then go back to the FlexViewer tab, the pdf displays the page 1 each time (instead of the page 5 in my example), which is annoying.
Is there a way to avoid this behavior or to programmatically get the current displayed page number and then programmatically go to this page?
With PdfViewer there is a GoToPage() method, but I did not found an equivalent for FlexViewer.
How can this be done with FlexViewer?
Thank you.