• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 943
  • Last Modified:

Using DeepZoom with a WPF Application

Is it possible to use deepzoom with a wpf/xbap application instead of silverlight, and if not, is there an alternative that will give me the same fluid controls and navigation as DeepZoom?
0
JSMcCloud
Asked:
JSMcCloud
  • 3
  • 2
2 Solutions
 
adler77Commented:
Unfortunately it doesn't look like WPF supports DeepZoom, but you could create a normal SL DeepZoom and host it inside a WebBroswer control in your WPF app.
0
 
JSMcCloudAuthor Commented:
If I go this route and use a WebBrowser control can my application still communicate with silverlight so that I can do certain things in my wpf application when the deep zoom is at a specific location.  Or are there any alternatives that can simulate deepzooms functionality that you know of?
0
 
adler77Commented:
You can call methods back and forth between your WPF app and JS in the WebBrowser control (see near the bottom of this page: http://www.dotnetfunda.com/articles/article840-working-with-webbrowser-in-wpf-.aspx). At the very least, you could call a method and pass basic types (string, int, etc.) back and forth.
0
 
adler77Commented:
Actually here is an example of someone doing exactly this--using JS as a bridge between Silverlight and the WebBrowser control.

http://forums.silverlight.net/forums/t/22114.aspx
0
 
JSMcCloudAuthor Commented:
Thanks, is more than enough information to get me started.  
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now