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);
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
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);
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
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 (모두 0으로 지정 됨) 하는 값은 전체 비트맵을 복사 합니다.

적용 대상

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);
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
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 (모두 0으로 지정 됨) 하는 값은 전체 비트맵을 복사 합니다.

적용 대상