问题描述
您好
我只想显示我的MultiScaleImage的等级0,1,2。即使我把:MultiScaleImage.SkipLevels = 3,我的所有图片都已加载。
I would like to show only levels 0,1,2 of my MultiScaleImage. Even if I put: MultiScaleImage.SkipLevels = 3, all my image is load.
你能帮助我吗?
谢谢
推荐答案
例如,如果你有0,1,2,3,4,5,6,7,8,9,在您的文件夹中有10个级别,并且您将SkipLevels设置为2,然后将加载级别0然后跳过两个级别,然后加载级别3,然后跳过两个级别,依此类推。我还发现的一件事是它总是加载级别
0(即使它很小也没用)和最后一级,无论它在跳转序列中的位置。因此,在我上面说的示例中,它将加载级别0,3,6,9,10
for example if you have 0,1,2,3,4,5,6,7,8,9,10 levels in your folders and you set SkipLevels to 2 it would then load level 0 then skip two levels, then load level 3 then skip two levels and so on. One thing I also discovered is that it always loads level 0 (even though it is so tiny it is useless) and the last level regardless of where it falls in the skip sequence. So in the example I stated above it would load levels 0,3,6,9,10
不是很直观,因为你可以看到。 HTH某人。
Not very intuitive as you can see. HTH someone.
p.s。我的研究是在Silverlight 5上完成的
p.s. my research was done on Silverlight 5
这篇关于应该如何使用MultiScaleImage.SkipLevels?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!