webview2- reopen PDF at last viewed location #3980
Replies: 3 comments
-
Hi @ookuboToshihiro, can you share more about the scenario you are trying to accomplish? Are you trying to reopen the PDF at the last viewed location? |
Beta Was this translation helpful? Give feedback.
-
I'm creating an application with webview2 in VisualStudio. The following code can not get the scroll position. private async void button1_Click(object sender, EventArgs e)
} |
Beta Was this translation helpful? Give feedback.
-
The above PDF is read as follows. webView21.CoreWebView2.Navigate("C:\Users\user\Desktop\abc.pdf"); |
Beta Was this translation helpful? Give feedback.
-
I am using webview2 to display the pdf.
I want to get the scroll position of the currently displayed pdf.
document.documentElement.scrollTop and window.scrollX
cannot be obtained.
How can I get it?
Beta Was this translation helpful? Give feedback.
All reactions