Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Using DeepZoom with a WPF Application

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 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