System.Drawing.Bitmap.UnlockBits Method

Unlocks this System.Drawing.Bitmap from system memory.

Syntax

public void UnlockBits (System.Drawing.Imaging.BitmapData bitmapdata)

Parameters

bitmapdata
A System.Drawing.Imaging.BitmapData that specifies information about the lock operation.

Remarks

The System.Drawing.Imaging.BitmapData specifies the attributes of the System.Drawing.Bitmap, such as size, pixel format, the starting address of the pixel data in memory, and length of each scan line (stride).

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0