次の方法で共有


ImageConverter.BitmapFromBitmapSource(BitmapSource) Method

Definition

Converts a BitmapSource to System.Drawing.Bitmap

public:
 static System::Drawing::Bitmap ^ BitmapFromBitmapSource(System::Windows::Media::Imaging::BitmapSource ^ bitmapSource);
public static System.Drawing.Bitmap BitmapFromBitmapSource (System.Windows.Media.Imaging.BitmapSource bitmapSource);
static member BitmapFromBitmapSource : System.Windows.Media.Imaging.BitmapSource -> System.Drawing.Bitmap
Public Shared Function BitmapFromBitmapSource (bitmapSource As BitmapSource) As Bitmap

Parameters

bitmapSource
BitmapSource

Image to convert

Returns

Converted bitmap

Applies to