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 ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.