简体   繁体   中英

Vb.Net PictureBox Resize image in runtime

appreciate your help.

So I have an image (293 X 117 px) being placed in a PictureBox inside a Form. The layouts of control is perfect in the From; however, when I run the application the form is displayed but it seems the image is resized!! I have the the SizeMode set to Normal

This worked

Disabling DPI-awareness to fix HDPI / scaling issues with Windows Forms Designer in Visual Studio:

https://docs.microsoft.com/en-us/visualstudio/designers/disable-dpi-awareness?view=vs-2022

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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