Silverlight图像缩放问题. [英] Silverlight Image Scaling Problem.

查看:97
本文介绍了Silverlight图像缩放问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在Silverlight应用程序上工作,我正在解决一个问题,将Image1分配给Image2 Image1是我的缩放图像,并且将此图像分配给Image2.

所以它会分配图像,但是它将渲染超出范围,假设我的图像是200 x 200,那么它将渲染为200 x 400,这样我就可以解决此问题..!!

Hello Guys I am working on Silverlight application and I am Phasing a problem assign Image1 to Image2 Image1 is my Scaling Image and this Image assign to the Image2.

so the it will assign the image but it will render the out of scope suppose my image is 200 by 200 so it will render as 200 by 400 so how I can resolve this problem..!!

推荐答案

您是否正在使用此属性:

Are you using this attribute:

Stretch="Fill"


这篇关于Silverlight图像缩放问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆