Rank: Newbie Groups: Member
Joined: 7/29/2016 Posts: 2
|
Hi,
In my WPF applicatin I need to load a svg into a WebBrowser, and then the user should be able to zoom and pan. I have seen that you don't really have panning out of the box. I have managed to implement it using the MouseUp, MouseDown, MouseMove events, and the GetScrollOffset() and SetScrollOffset() methods.
My biggest problem to this implementation is that while the I make a "pan", the text from the webbrowser also gets selected. Is there any method to disable this text selection?
Or is there any other way to implement zoom and pan?
Thanks, Doru.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
The latest build should support this automatically. You do not need to do anything special to support that. You can run our TabbedBrowser sample project, load any page and you should be able to zoom/pan the content. So you can try that and see if it works for you.
Thanks!
|