开发者

Rotate picturebox [closed]

开发者 https://www.devze.com 2023-02-01 13:42 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetori开发者_JAVA百科cal andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetori开发者_JAVA百科cal and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how in windows forms rotate picturebox element at 45 degrees


You can use Graphics.RotateTransform on the image.

Graphics graphic = Graphics.FromImage(myImage);
graphic.RotateTransform(45);


http://www.codeproject.com/KB/graphics/RotatePictureBox.aspx in that they clearly explained with sample


For the picture inside the picturebox, use Bitmap.FlipRotate method.

0

精彩评论

暂无评论...
验证码 换一张
取 消