Click or drag to resize

PixelAccessorWriteColumnSection Method

Writes the column section.

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 WriteColumnSection(
	int startY,
	int height,
	int destIndex,
	byte[] data,
	int dataIndex,
	int bytesToWritePerRow
)

Parameters

startY
Type: SystemInt32
The start y.
height
Type: SystemInt32
The height.
destIndex
Type: SystemInt32
Index of the dest.
data
Type: SystemByte
The data.
dataIndex
Type: SystemInt32
Index of the data.
bytesToWritePerRow
Type: SystemInt32
The bytes to write per row.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException y;scanline index must be within image bounds or height;scanline index must be within image bounds or bytesToWritePerRow or srcIndex or dataIndex or srcIndex;Writing + bytesToWritePerRow + bytes would exceed the row stride. or dataIndex;Writing + (bytesToWritePerRow * height) + 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