GetColorLine Method
Syntax
CWIMAQVision.GetColorLine SourceImage, x1, y1, x2, y2, Array
Return Type
On success, this method returns 0. On failure, this function returns a negative number.
Purpose
Obsolete—Use GetLine2 instead. Reads a line of pixels from a color image into an array.
Remarks
Use this method with RGB32 images.
Parameters
SourceImage As CWIMAQImage
The color image from which the line is read.
x1 As Long
The x-coordinate of the start point.
y1 As Long
The y-coordinate of the start point.
x2 As Long
The x-coordinate of the end point.
y2 As Long
The y-coordinate of the end point.
Array As Variant
Returns the array of color values that were read from the image.