Solved

Using DeepZoom with a WPF Application

Posted on 2010-09-21
5
917 Views
Last Modified: 2013-11-27
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
Comment
Question by:JSMcCloud
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:adler77
ID: 33727873
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
 

Author Comment

by:JSMcCloud
ID: 33728108
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
 
LVL 8

Accepted Solution

by:
adler77 earned 50 total points
ID: 33746933
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
 
LVL 8

Assisted Solution

by:adler77
adler77 earned 50 total points
ID: 33746979
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
 

Author Closing Comment

by:JSMcCloud
ID: 33748440
Thanks, is more than enough information to get me started.  
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now