Click or drag to resize

PixelAccessorGetReadOnlyColumnSection Method

Gets the read only 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 GetReadOnlyColumnSection(
	int startY,
	int height,
	int srcIndex,
	byte[] data,
	int dataIndex,
	int bytesToReadPerRow
)

Parameters

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