BitmapSource.CopyPixels メソッド

定義

ビットマップ ピクセル データをコピーします。

オーバーロード

名前 説明
CopyPixels(Array, Int32, Int32)

指定したオフセットから始まる、指定したストライドを持つピクセルの配列にビットマップ ピクセル データをコピーします。

CopyPixels(Int32Rect, Array, Int32, Int32)

指定した四角形内のビットマップ ピクセル データを、指定したオフセットから始まる指定したストライドを持つピクセルの配列にコピーします。

CopyPixels(Int32Rect, IntPtr, Int32, Int32)

指定した四角形内のビットマップ ピクセル データをコピーします。

CopyPixels(Array, Int32, Int32)

指定したオフセットから始まる、指定したストライドを持つピクセルの配列にビットマップ ピクセル データをコピーします。

public:
 virtual void CopyPixels(Array ^ pixels, int stride, int offset);
[System.Security.SecurityCritical]
public virtual void CopyPixels(Array pixels, int stride, int offset);
[<System.Security.SecurityCritical>]
abstract member CopyPixels : Array * int * int -> unit
override this.CopyPixels : Array * int * int -> unit
Public Overridable Sub CopyPixels (pixels As Array, stride As Integer, offset As Integer)

パラメーター

pixels
Array

コピー先の配列。

stride
Int32

ビットマップのストライド。

offset
Int32

コピーが開始されるピクセル位置。

属性

適用対象

CopyPixels(Int32Rect, Array, Int32, Int32)

指定した四角形内のビットマップ ピクセル データを、指定したオフセットから始まる指定したストライドを持つピクセルの配列にコピーします。

public:
 virtual void CopyPixels(System::Windows::Int32Rect sourceRect, Array ^ pixels, int stride, int offset);
[System.Security.SecurityCritical]
public virtual void CopyPixels(System.Windows.Int32Rect sourceRect, Array pixels, int stride, int offset);
[<System.Security.SecurityCritical>]
abstract member CopyPixels : System.Windows.Int32Rect * Array * int * int -> unit
override this.CopyPixels : System.Windows.Int32Rect * Array * int * int -> unit
Public Overridable Sub CopyPixels (sourceRect As Int32Rect, pixels As Array, stride As Integer, offset As Integer)

パラメーター

sourceRect
Int32Rect

コピーするソース四角形。 Empty値は、ビットマップ全体を指定します。

pixels
Array

コピー先の配列。

stride
Int32

ビットマップのストライド。

offset
Int32

コピーが開始されるピクセル位置。

属性

注釈

空の sourceRect 値 (ゼロすべてとして指定) は、ビットマップ全体をコピーします。

適用対象

CopyPixels(Int32Rect, IntPtr, Int32, Int32)

指定した四角形内のビットマップ ピクセル データをコピーします。

public:
 virtual void CopyPixels(System::Windows::Int32Rect sourceRect, IntPtr buffer, int bufferSize, int stride);
[System.Security.SecurityCritical]
public virtual void CopyPixels(System.Windows.Int32Rect sourceRect, IntPtr buffer, int bufferSize, int stride);
[<System.Security.SecurityCritical>]
abstract member CopyPixels : System.Windows.Int32Rect * nativeint * int * int -> unit
override this.CopyPixels : System.Windows.Int32Rect * nativeint * int * int -> unit
Public Overridable Sub CopyPixels (sourceRect As Int32Rect, buffer As IntPtr, bufferSize As Integer, stride As Integer)

パラメーター

sourceRect
Int32Rect

コピーするソース四角形。 Empty値は、ビットマップ全体を指定します。

buffer
IntPtr

nativeint

バッファーへのポインター。

bufferSize
Int32

バッファーのサイズ。

stride
Int32

ビットマップのストライド。

属性

注釈

空の sourceRect 値 (ゼロすべてとして指定) は、ビットマップ全体をコピーします。

適用対象