Method GetScanLine
GetScanLine(int)
Returns a pointer to the beginning of the specified scan line.
public IntPtr GetScanLine(int y)
Parameters
y
intThe zero-based index of the scan line.
Returns
- IntPtr
A pointer to the start of the requested scan line.
Exceptions
- ArgumentOutOfRangeException
Thrown when the specified scan line index is outside the bounds of the image.