This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.UnlockBits Method

Unlocks previously locked area of bitmap with LockBits(Int32, Int32, Int32, Int32) method.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub UnlockBits ( _
	bitmapData As BitmapData _
)
C#
public void UnlockBits(
	BitmapData bitmapData
)

Parameters

bitmapData

Type: Aurigma.GraphicsMill.BitmapData

BitmapData object previously returned with LockBits(Int32, Int32, Int32, Int32) method.

Remarks

Each call of LockBits(Int32, Int32, Int32, Int32) should be followed with subsequent UnlockBits(BitmapData) method call. You cannot lock bits one more time until you unlock them with this method. You can check if bits are locked with BitsLocked property.

See Also

Reference