Returns, as a long integer, the red-green-blue (RGB) color of the specified point on a Form or PictureBox. Doesn't support named arguments.
Syntax
object.Point(x, y)
The Point method syntax has these parts:
Part | Description |
object | Optional. An object expression that evaluates to an object in the Applies To list. If object is omitted, the Form object with the focus is assumed to be object. |
x, y | Required. Single-precision values indicating the horizontal (x-axis) and vertical (y-axis) coordinates of the point in the ScaleMode property of the Form or PictureBox. Parentheses must enclose the values. |
Remarks
If the point referred to by the x and y coordinates is outside object, the Point method returns -1.