Click or drag to resize

GlobalAllocPixelMemory Constructor (Int32, Int32, Int32, Boolean)

Constructs a new PixelMemory object with memory allocated by GlobalAlloc.

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 GlobalAllocPixelMemory(
	int numBytes,
	int height,
	int rowStride,
	bool zeroMemory
)

Parameters

numBytes
Type: SystemInt32
The total number of bytes occupied by this image. Typically this will be height * rowstride, but it could be larger if there is space needed after the last scanline.
height
Type: SystemInt32
The height of the image.
rowStride
Type: SystemInt32
The number of bytes in a scanline rounded up to the next multiple of 4.
zeroMemory
Type: SystemBoolean
Indicates whether allocated memory should be cleared or not.
See Also