Click or drag to resize

PixelAccessorAcquireScanline Method

Aquires a scanline of data for accessing.

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public byte[] AcquireScanline(
	int index


Type: SystemInt32
The index of the scanline.

Return Value

Type: Byte
An array of bytes representing the data in the scanline.

This method will throw an exception if i is in within the image boundary.

For the sake of efficiency many implementations of PixelAccessor may return the same byte array, but with different contents. If you need to keep the data from a previously acquired scanline, you should use multiple PixelAccessor objects or explicitly copy the data in the array.

See Also