SoftwareBitmap.LockBuffer(BitmapBufferAccessMode) SoftwareBitmap.LockBuffer(BitmapBufferAccessMode) SoftwareBitmap.LockBuffer(BitmapBufferAccessMode) SoftwareBitmap.LockBuffer(BitmapBufferAccessMode) SoftwareBitmap.LockBuffer(BitmapBufferAccessMode) Method

Definition

Gets a BitmapBuffer object that allows you to operate directly on the software bitmap's pixel data.

public : BitmapBuffer LockBuffer(BitmapBufferAccessMode mode)
BitmapBuffer LockBuffer(BitmapBufferAccessMode mode) const;
public BitmapBuffer LockBuffer(BitmapBufferAccessMode mode)
Public Function LockBuffer(mode As BitmapBufferAccessMode) As BitmapBuffer
var bitmapBuffer = softwareBitmap.lockBuffer(mode);

Parameters

mode
BitmapBufferAccessMode BitmapBufferAccessMode BitmapBufferAccessMode

A value indicating the access mode of the returned buffer.

Returns

The buffer containing pixel data.