Solved

Using DeepZoom with a WPF Application

Posted on 2010-09-21
5
926 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
[X]
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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…

751 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