Click or drag to resize

PixelAccessorWriteToScanline Method

Writes to scanline.

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 void WriteToScanline(
	int y,
	int destIndex,
	byte[] data,
	int dataIndex,
	int bytesToWrite
)

Parameters

y
Type: SystemInt32
The y.
destIndex
Type: SystemInt32
Index of the dest.
data
Type: SystemByte
The data.
dataIndex
Type: SystemInt32
Index of the data.
bytesToWrite
Type: SystemInt32
The bytes to write.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException y;scanline index must be within image bounds or bytesToRead or destIndex or dataIndex or destIndex;Writing + bytesToWrite + bytes would exceed the row stride. or dataIndex;Writing + bytesToWrite + bytes would exceed the capacity of data[].
PixelMemoryException low-level accessor failed to read scanline. or low-level accessor returned null on acquire.
See Also