Reader Level:
ARTICLE

Introducing Deep Zoom Composer

Posted by Mahesh Chand Articles | WPF November 19, 2008
This tutorial is an introduction to the Deep Zoom Composer and how to use it to build zoom and pan enabled Silverlight applications with the help of Expression Blend and Visual Studio 2008.
  • 0
  • 0
  • 17795
Download Files:
 

The Deep Zoom Composer is an additional tool available to Silverlight developers to compose and export multiple images with zoom and pan functionality. This tutorial is an introduction to the Deep Zoom Composer and how to use it to build zoom and pan enabled Silverlight applications with the help of Expression Blend and Visual Studio 2008.

First second part of this tutorial is the "Deep Zoom User Guide" document provided by Microsoft.

Installation

Download Deep Zoom Composer here and install it: Download from MSDN  

The installation steps should be - Visual Studio 2008, Expression Blend 2, and then Deep Zoom Composer.

Build a Deep Zoom Composer Project

Now we are going to build a Deep Zoom Composer project.

Select New Project, select a folder and type your project name.

DZCImg1.jpg

Next we are going to add images to the project. Click on Add Image and select images from your machine. I add some images. See below.

Next part is Compose. Click on the Compose button at the top and drag, drop and move images the way you want. You will also see a preview in the left bottom area of the screen. My organized images look like following. 

DZCImg2.jpg

Now we are going to Export the project. Click on the Export option and select Silverlight Export in the tab as you can see from the right side. Make sure to select Output Type option to Export Images and Silverlight Project and click on the Export button.

DZCImg3.jpg

On next screen, you will be asked to preview and view project and image folder. I select Project Folder.

 DZCImg4.jpg

And on next screen, you will see the exported files and Silverlight project.

DZCImg5.jpg

Now if you double click on the Silverlight solution, it will not be opened in the Visual Studio 2008. You need to right click on the solutuion file and open it in Visual Studio 2008.

DZCImg6.jpg

You will see your project is opened in Visual Studio 2008.

Wait. You are not done yet. Right click on DeepZoomProjectTestPage.html page and set it as the start page. Now you are ready to go. Build and run the project.

DZCImg7.jpg

Now you will see your images in the browser. Now you can scroll mouse wheel to zoom in and zoom out the images. You can also pan the images and they will move from one direction to another.  Here is an zoomed out view.

DZCImg8.jpg

Here is a zoomed in view.

DZCImg9.jpg

One panned view. Cool. Huh??

DZCImg10.jpg

Download the attached project and document for more details.


COMMENT USING

Trending up