其他分享
首页 > 其他分享> > winform 旋转图片

winform 旋转图片

作者:互联网

            //img.RotateFlip(RotateFlipType.Rotate90FlipNone);
            //顺时针旋转90度 RotateFlipType.Rotate90FlipNone 
            //逆时针旋转90度 RotateFlipType.Rotate270FlipNone 
            //水平翻转 RotateFlipType.Rotate180FlipY 
            //垂直翻转 RotateFlipType.Rotate180FlipX

            Image img = pictureBox1.Image;
            img.RotateFlip(RotateFlipType.Rotate90FlipNone);
            pictureBox1.Image = img;

 

标签:img,Rotate90FlipNone,Image,旋转,RotateFlipType,pictureBox1,90,winform,图片
来源: https://www.cnblogs.com/bin521/p/10881636.html