RT/Metro商店应用如何如何获取图片的宽高
RT/Metro商店应用如何如何获取图片的宽高
RT/Metro商店应用如何如何获取图片的宽高
var file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/test.jpg", UriKind.RelativeOrAbsolute));
ImageProperties imageProperties = await file.Properties.GetImagePropertiesAsync();
canvas.Width = imageProperties.Width;
canvas.Height = imageProperties.Height;
RT/Metro商店应用如何如何获取图片的宽高
https://www.dearcloud.cn/2015/05/25/20200310-cnblogs-old-posts/20150525-RTMetro商店应用如何如何获取图片的宽高/