ImageBuffer.ForceUnlock Method

Reduces the lock count immediately to 0. Therefore, an image buffer is unlocked, enabling IC Imaging Control to copy an image to it.
Syntax:
[C#]
public void ForceUnlock();
Remarks:

ImageBuffer.Unlock should be used instead of ForceUnlock. If an application needs to unlock an image buffer and it is unknown how often this buffer was previously locked, the application should use ForceUnlock.

See also: ImageBuffer, ImageBuffer.Unlock, ImageBuffer.Lock, ImageBuffer.Locked

<< ImageAvailableEventArgs.ImageBuffer