Skip to main content

Microsoft Silverlight

Answered Question Source attribute of Siverlight MultiScaleImageRSS Feed

(0)

George1231
George1231

Member

Member

11 points

131 Posts

Source attribute of Siverlight MultiScaleImage

Hello everyone,

I learned we should assgin a .bin file to the Source attribute of Siverlight MultiScaleImage. For example, I learned from here (refers to code sample in section Anonymous Methods for Events),

http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/410/Silverlight-Deep-Zoom-Sample-Code-Part-2.aspx

But I have tried using export function of Deep Zoom Composor will never generate .bin file. Here are my screen snapshots. Any ideas what is wrong?

(I am using VSTS 2008 + .Net 3.5 + C#.)

http://i44.tinypic.com/2guiaz7.jpg

http://i42.tinypic.com/2hib2nl.jpg

thanks in advance,

George

 

jay nanavati
jay nana...

Contributor

Contributor

3388 points

624 Posts

Re: Source attribute of Siverlight MultiScaleImage

It was old story of .bin file. Now Deep Zoom exports collection of images in folders.

Jay K Nanavaty
www.technologyopinion.com
Mark as answer if it helps. It will also help others...

George1231
George1231

Member

Member

11 points

131 Posts

Re: Source attribute of Siverlight MultiScaleImage

Thanks Jay, so in current version we should set Source attribute to where GeneratedImages folder locates (copy all content of GeneratedImages into ClientBin folder and set source to GeneratedImages), correct?

jay nanavati
jay nana...

Contributor

Contributor

3388 points

624 Posts

Answered Question

Re: Re: Source attribute of Siverlight MultiScaleImage

Yes, the property should be set like this:

this.msi.Source = new DeepZoomImageTileSource(new Uri("GeneratedImages/dzc_output.xml", UriKind.Relative));


where msi is Multiscaleimage control.

Jay K Nanavaty
www.technologyopinion.com
Mark as answer if it helps. It will also help others...

George1231
George1231

Member

Member

11 points

131 Posts

Re: Re: Source attribute of Siverlight MultiScaleImage

Thanks Jay, question answered. I have a related question here, appreciate if you could help further?

http://silverlight.net/forums/t/106115.aspx

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities