O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring the MultiScaleImage API

Before diving into the sample code for this section, let’s look at some of the key features of the MultiScaleImage API.

Instantiating a MultiScaleImage can be done in XAML, as shown:

<MultiScaleImage Source="http://www.example.com/dzc_output.xml" />

Or in code:

MultiScaleImage multiScaleImage = new MultiScaleImage();multiScaleImage.Source = new DeepZoomImageTileSource(            new Uri("http://www.example.com/dzc_output.xml"));

Source Property

When set in XAML, the Source property of the MultiScaleImage indicates the URL of the Deep Zoom image definition file, an XML file containing image metadata, and paths to subimage definition files. The Source property type is, however, an ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required