| pvLine | Required. A Variant value. A pointer to a VARIANT receiving the pixel values. If the VARIANT is empty, the function will return one containing a one-dimensional SAFEARRAY (for one channel per pixel) or a two-dimensional SAFEARRAY (for multiple channels per pixel). If a 1-D array is created, it will be shaped as vLine(0 to lWidth-1) for VB arrays and as vLine[lWidth] for C/C++/Java arrays. If a 2-D array is created, it will be shaped as vLine(0 to nChannels-1, 0 to lWidth-1) for VB arrays and as vLine[lWidth][nChannels] for C/C++/Java arrays.
The number of values contained in the SAFEARRAY is equal to the with of the image times the number of channels (width for gray scale, 3*width for color images). For color images, red, green, and blue values are interlaced.
|