0
我有一张类型为byte[]
的照片。我在一个datagridview单元格中设置了这张图片。我现在可以看到它,但它太大了。我想在此单元格中调整此图片的大小。我怎样才能做到这一点?如何调整字节数组中的图片大小?
这是我创建列,并设置字节数组图片代码:
// player picture column
string propPlayerPicture = "PlayerPicture";
table.Columns.Add(propPlayerPicture, typeof(byte[]));
// set playerPicture, noted that GetPlayerPictureAsync returns a byte array
row[propPlayerPicture] = await GetPlayerPictureAsync(auctionInfo);
由于它的工作原理.. – Ola 2014-10-31 12:56:22