Click or drag to resize

PixelAccessorGetReadOnlyScanlineSection Method

Gets the read only scanline 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 GetReadOnlyScanlineSection(
	int y,
	int srcIndex,
	byte[] data,
	int dataIndex,
	int bytesToRead
)

Parameters

y
Type: SystemInt32
The y.
srcIndex
Type: SystemInt32
Index of the source.
data
Type: SystemByte
The data.
dataIndex
Type: SystemInt32
Index of the data.
bytesToRead
Type: SystemInt32
The bytes to read.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException y;scanline index must be within image bounds or bytesToRead or srcIndex or dataIndex or srcIndex;Reading + bytesToRead + bytes would exceed the row stride. or dataIndex;Reading + bytesToRead + 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