Returns a Byte array that contains the image data from the specified row.
- Specifies the index of the row whose bytes should be returned.
- Optional - Specifies a byte offset from the start of the row from which to return data
- Optional - Specifies the number of bytes of data to be returned in the array.
'To change all bytes in an image Dim ary For I = 0 To ImageControl1.ImageHeight - 1 ary = im1.GetRow(I) 'returns a byte array For x = 1 To UBound(ary, 1) c = ary(x) ' Do something to c ary(x) = c Next x ' Now put the row back in the image im1.SetRow I, ary Next I ImageControl1.Refresh