简体   繁体   English

在VB.NET中旋转图片框

[英]Rotate picturebox in VB.NET

How do I rotate a picturebox using code? 如何使用代码旋转图片框? I know I can use rotateflip, but that only rotates it 90, 180 or 270 degrees. 我知道我可以使用rotateflip,但是只能将其旋转90、180或270度。 Is there a way to rotate the image, say 30 degrees, without having to rotate the image outside of VB and importing the rotated version? 有没有一种方法可以将图像旋转30度,而不必在VB外部旋转图像并导入旋转的版本?

此页面的“ 如何:旋转,反射和倾斜图像”应该向正确的方向迈出了一步。

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

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