Click or drag to resize

PixelMemoryFactoryParameters Constructor (Int64, Int32, Int32, Int32, Boolean)

Constructs a new PixelMemoryFactoryParameters object.

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

Parameters

numBytes
Type: SystemInt64
The total number of bytes needed for the memory. This should be no less than height * rowStride + offsetToFirstScanline, but it can be more.
height
Type: SystemInt32
The height of the image in scan lines
rowStride
Type: SystemInt32
The length of a scan line in bytes. This should be a multiple of 4.
offsetToFirstScanline
Type: SystemInt32
The offset in bytes to the first scan line from the start of memory.
zeroMemory
Type: SystemBoolean
Indicates whether or not memory should be set to zero.
See Also