SoftwareBitmap.CopyToBuffer(IBuffer) Method

Definition

Copies the software bitmap pixel data into the specified IBuffer.

public:
 virtual void CopyToBuffer(IBuffer ^ buffer) = CopyToBuffer;
void CopyToBuffer(IBuffer const& buffer);
public void CopyToBuffer(IBuffer buffer);
function copyToBuffer(buffer)
Public Sub CopyToBuffer (buffer As IBuffer)

Parameters

buffer
IBuffer

The target buffer to which the pixel data will be copied.

Examples

For a code example showing how to access pixel data, see the WriteableBitmap.PixelBuffer property.

Remarks

Use this method to copy pixel data from a SoftwareBitmap into the PixelBuffer of a WriteableBitmap.

Applies to

See also