0
我有一个程序,将图像从链接设置为图片框。C#调整webclient的图像大小
例如:
pictureBox1.Load( “http://www.e357.net/wordpress/beingernest/wp-content/uploads/2010/07/questionmark-150x150.jpg”);
但由于pictureBox的大小是100x100,图像被削减。
如何在不更改图片框大小的情况下调整图片大小?
使用WinForms的Im。
谢谢。
在提出这些问题之前,请做一些调查。请把你的代码放在这里。试试这个:http://stackoverflow.com/questions/1195064/fastest-image-resizing-in-net –
首先获取图片,并根据您的需要调整大小,然后在Picturebox上加载。 –
[Picturebox Bitmap Scaling]的可能重复(http://stackoverflow.com/questions/14207895/picturebox-bitmap-scaling) – MarkusEgle