Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

BitmapData.Unlock Method

Unlocks the object previously locked with method Lock().

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

Syntax

Visual Basic
Public Overrides Sub Unlock
C#
public override void Unlock()

Implements

ILockable.Unlock()

Remarks

Every time you call method Lock() object becomes unavailable until you call this method (the threads which access locked object are stopped until unlocking). That's why it is extremely important to call this method when you finished working with the object.
Note

All Graphics Mill for .NET method and properties already uses Lock()/Unlock() methods to provide thread safety. You need call these methods manually only if you manipulate the objects manually, or if you inherit your own class from ILockable interface.

See Also

Reference