MarkPad does this to sync the position of the editor and preview. It
uses Chromium but you might be able to find something useful. I don't
recall exactly how it works but you would look in the preview view.
https://github.com/Code52/DownmarkerWPF
On 10/09/13 10:18 AM, Jim Baker wrote:
Hel
Hello All,
I have a WebBrowser control in my WPF application (Yes some of us still write
WPF apps !) and I need to find out the x,y positions of the scrollbars.
I'm using this to set the scroll position
mshtml.IHTMLDocument2 doc = WebBrowser1.Document as mshtml.IHTMLDocument2;
doc.parentWindow