An expression evaluating to an object of type McRegionAccess.
vPixel
Required. A Variant value.
VARIANT : A VARIANT containing the new pixel value. The type and number of values in vPixel depends on the type and number of channels of the McRegionAccess. These parameters are defined during the creation of the McRegionAccess via McImage.CreateRegionAccess. See GetPixel for more information.
x
Required. A Long value.
long : The x-location of the pixel. 0 indicates a pixel along the edge of the McRegionAccess.
y
Required. A Long value.
long : The y-location of the pixel. 0 indicates a pixel along the first line of the McRegionAccess.
Remarks
The x and y coordinates are relative to the McRegionAccessROI, not the image. The pixel values returned are in the requested color model, which may differ from the image's native color model. If different, the pixel values will be converted back into the native color model and the image will be modified.