1
BitmapSource source = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(bitmap.GetHbitmap(),
IntPtr.Zero, Int32Rect.Empty, BitmapSizeOptions.FromEmptyOptions());
如何我可以用它來申請成爲源爲WPF Image
不知何故?
請提供代碼示例。
謝謝!