Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SoftwareBitmap.CopyToBuffer(IBuffer) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?