开发者

how do I set images to scale to 100% of their table-cell? (C#/WinForms)

开发者 https://www.devze.com 2023-02-22 14:09 出处:网络
I have the TableLayoutControl anchored to scale with the window and the images in it need to scale with 开发者_StackOverflow中文版them. I am not concerned with image quality.Assuming this is WinForms

I have the TableLayoutControl anchored to scale with the window and the images in it need to scale with 开发者_StackOverflow中文版them. I am not concerned with image quality.


Assuming this is WinForms and you have a bunch of PictureBoxes in cells of a TableLayoutPanel, set each one's Dock to Fill and SizeMode to StretchImage.

0

精彩评论

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

关注公众号