■■■

2016年4月3日日曜日

PictureBoxの画像を回転させる方法

PictureBoxの画像を回転させる方法
VB.NET
Dim bmp As Bitmap =  New Bitmap("test.bmp") 
bmp.RotateFlip(RotateFlipType.Rotate180FlipX)
PictureBox1.Image = bmp
C#
Bitmap bmp = new Bitmap("test.bmp");
bmp.RotateFlip(RotateFlipType.Rotate180FlipX);
PictureBox1.Image = bmp;

■■■