Skip to main content
Home Forums General Silverlight Getting Started Source attribute of Siverlight MultiScaleImage
4 replies. Latest Post by George1231 on July 5, 2009.
(0)
George1231
Member
11 points
131 Posts
07-04-2009 11:37 AM |
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 nana...
Contributor
3388 points
624 Posts
07-05-2009 8:55 AM |
It was old story of .bin file. Now Deep Zoom exports collection of images in folders.
07-05-2009 9:14 AM |
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?
07-05-2009 2:13 PM |
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.
07-05-2009 11:18 PM |
Thanks Jay, question answered. I have a related question here, appreciate if you could help further?
http://silverlight.net/forums/t/106115.aspx