Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Winform opens a picture. Why does it rotate 90?
Winform opens a picture. Why does it rotate 90?
Reason: When using FastReport's PictureObject in Winform, set the picture source through code and rotate the image 90 degrees.

Main realization: 1.picturebox zooms in or out with the mouse wheel, 2. Use the shortcut menu to rotate the picture left and right. 3. Move the picture with the mouse.

WinForm is WindowsForm in. Net development platform. Windows Forms can be used to design forms and visual controls to create rich Windows-based applications. Windows Forms makes full use of the security functions of the common language runtime. This means that everything can be realized through Windows Forms, including untrusted controls running in the browser and fully trusted applications installed on the user's hard disk.