Silverlight深度缩放图像点击问题

时间:2021-06-25 21:18:49

I am using deep zoom composer to generate XAP and html files and they works fine for me. Currently, I want to retrieve the information about which image the end user is clicked, and I want to display the description information for the user clicked image in another Silverlight TextBox control on the same page. The description informaiton is currently stored in a database, and has WCF interface. So, I need to know which image in the whole deep zoom area is clicked (support I have 100 images, 10 images in a row and 10 rows).

我正在使用深度缩放编辑器来生成XAP和html文件,它们对我来说很好。目前,我想检索有关最终用户单击哪个图像的信息,并且我想在同一页面上的另一个Silverlight TextBox控件中显示用户单击图像的描述信息。描述信息当前存储在数据库中,并具有WCF接口。因此,我需要知道整个深度缩放区域中的哪个图像被点击(支持我有100个图像,连续10个图像和10行)。

Any reference samples or documents? I am using Silverlight 2.0 + VSTS 2008 + .Net + C# + IIS 7.0 on Windows Vista x86 Enterprise.

任何参考样品或文件?我在Windows Vista x86 Enterprise上使用Silverlight 2.0 + VSTS 2008 + .Net + C#+ IIS 7.0。

thanks in advance, George

乔治,提前谢谢

1 个解决方案

#1


projectsilverlight Wilfred Pinto posted interesting solution to find the image index of the selected image. go check out here

projectsilverlight Wilfred Pinto发布了有趣的解决方案,以查找所选图像的图像索引。去看看这里

I used the index to loop through the MetaData.xml collection to find the tags associated image..

我使用索引循环遍历MetaData.xml集合以查找与图像关联的标签。

#1


projectsilverlight Wilfred Pinto posted interesting solution to find the image index of the selected image. go check out here

projectsilverlight Wilfred Pinto发布了有趣的解决方案,以查找所选图像的图像索引。去看看这里

I used the index to loop through the MetaData.xml collection to find the tags associated image..

我使用索引循环遍历MetaData.xml集合以查找与图像关联的标签。