Click or drag to resize

PixelMemoryLocker Constructor (AtalaImage)

Constructs an object that will automatically lock and unlock the PixelMemory for the supplied AtalaImage.

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public PixelMemoryLocker(
	AtalaImage image


Type: Atalasoft.ImagingAtalaImage
An image to be locked. If image is null, PixelMemoryLocker will do nothing.
PixelMemoryLocker should never be used outside of a using block. PixelMemoryLocker depends on Dispose being called in a predictable manner to operate correctly. Using a PixelMemoryLocker outside a using block will cause unpredictable behavior since the memory will be unlocked when the object is either disposed or garbage collected.
See Also