简体   繁体   English

缩放PictureBox(Windows Mobile)

[英]Zoom on a PictureBox (Windows Mobile)

I'm developing an app for Windows Mobile. 我正在为Windows Mobile开发一个应用程序。 I would like to make zoom on a PictureBox's image. 我想对PictureBox的图像进行缩放。

How can I do this? 我怎样才能做到这一点?

I think this is more complicated because I'm doing for Windows Mobile . 我认为这更加复杂,因为我正在使用Windows Mobile

Thank you! 谢谢!

Almost all questions that have to do with Windows Mobile are answered with OpenNetCF. OpenNetCF几乎回答了与Windows Mobile有关的所有问题。 While I haven't tried this, OpenNetCF has a picture box control with a Scale() method. 虽然我还没有尝试过,但是OpenNetCF拥有一个带有Scale()方法的图片框控件。 Perhaps this is what you're looking for. 也许这就是您要寻找的。

If you use the ImageViewer contro l, you will get Zoom in/out. 如果使用ImageViewer控件 ,则会得到放大/缩小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM