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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PixelMemoryLocker(
	AtalaImage image
)

Parameters

image
Type: Atalasoft.ImagingAtalaImage
An image to be locked. If image is null, PixelMemoryLocker will do nothing.
Remarks
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