This documentation is archived and is not being maintained.

Bitmap.UnlockBits Method

Unlocks this Bitmap from system memory.

[Visual Basic]
Public Sub UnlockBits( _
   ByVal bitmapdata As BitmapData _
)
[C#]
public void UnlockBits(
 BitmapData bitmapdata
);
[C++]
public: void UnlockBits(
 BitmapData* bitmapdata
);
[JScript]
public function UnlockBits(
   bitmapdata : BitmapData
);

Parameters

bitmapdata
A BitmapData object specifying information about the lock operation.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Bitmap Class | Bitmap Members | System.Drawing Namespace

Show: