| pvArea | Required. A Variant value. VARIANT* : A pointer to a VARIANT receiving the pixel values. If the VARIANT is empty, the function will return one containing a two-dimensional SAFEARRAY (for one channel per pixel) or a three-dimensional SAFEARRAY (for multiple channels per pixel). If a 2-D array is created, it will be shaped as vLine(0 to lWidth-1, 0 to lHeight-1) for VB arrays and as vLine[lHeight][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, 0 to lHeight-1) for VB arrays and as vLine[lHeight][lWidth][nChannels] for C/C++/Java arrays.
The number of values contained in the SAFEARRAY is equal to the area of the McRegionAccess times the number of channels in the McRegionAccess. For color McRegionAccess red, green, and blue values are interlaced. The type of values in the SAFEARRAY and the number of channels returned is determined by the type and channel arguments of the call to McImage.CreateRegionAccess.
|