8,735
社区成员
发帖
与我相关
我的任务
分享
BitmapImage bitmap = new BitmapImage();
bitmap.UriSource = new Uri(path, UriKind.RelativeOrAbsolute);
double biwidth = bitmap.PixelWidth;
double biheight = bitmap.PixelHeight;