Click or drag to resize

ManagedPixelMemory Constructor (Int64, Int32, Int32, Int32)

Constructs a new ManagedPixelMemory object.

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public ManagedPixelMemory(
	long numBytes,
	int height,
	int rowStride,
	int offsetToFirstScanline
)

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.
See Also