BitmapSourceCopyPixels Method (Int32Rect, IntPtr, Int32, Int32)

CVB.Net Documentation
Requests pixels from this BitmapSource.

Namespace:  Stemmer.Cvb.Wpf.Imaging
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public override void CopyPixels(
	Int32Rect sourceRect,
	IntPtr buffer,
	int bufferSize,
	int stride
)

Parameters

sourceRect
Type: System.WindowsInt32Rect
The rectangle of pixels to copy.
buffer
Type: SystemIntPtr
The destination buffer of pixels.
bufferSize
Type: SystemInt32
The size of the buffer, in bytes.
stride
Type: SystemInt32
The stride of the destination buffer.
Remarks

Derived classes must override CopyPixelsCore(Int32Rect, IntPtr, Int32, Int32) to implement custom logic.
See Also

Reference