Share via


Clipboard.SetImage(BitmapSource) 方法

定義

在 [剪貼簿] 上儲存 Bitmap 資料。 影像資料會指定為 BitmapSource

public:
 static void SetImage(System::Windows::Media::Imaging::BitmapSource ^ image);
public static void SetImage (System.Windows.Media.Imaging.BitmapSource image);
static member SetImage : System.Windows.Media.Imaging.BitmapSource -> unit
Public Shared Sub SetImage (image As BitmapSource)

參數

image
BitmapSource

BitmapSource 物件,其中包含要儲存在剪貼簿上的影像資料。

備註

點陣圖代表電腦圖形做為記憶體中位的陣列,這些位代表影像中個別圖元的屬性。

這個方法會新增已啟用自動轉換的資料。

適用於

另請參閱