You’re viewing outdated documentation. View the latest Graphics Mill documentation.

Bitmap.UnlockBits Method

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

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