Solved

Using DeepZoom with a WPF Application

Posted on 2010-09-21
5
916 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

17 Experts available now in Live!

Get 1:1 Help Now