Clipboard.SetImage(BitmapSource) 方法

定義

在 [剪貼簿] 上儲存 Bitmap 資料。Stores Bitmap data on the Clipboard. 影像資料會指定為 BitmapSourceThe image data is specified as a 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 物件,其中包含要儲存在剪貼簿上的影像資料。A BitmapSource object that contains the image data to store on the Clipboard.

備註

點陣圖代表電腦圖形,做為記憶體中的位陣列,而這些位代表影像中個別圖元的屬性。A bitmap represents a computer graphic as an array of bits in memory, and these bits represent the attributes of the individual pixels in an image.

這個方法會加入已啟用自動轉換的資料。This method adds data with auto-conversion enabled.

適用於

另請參閱