PointSet

This method sets, as a long integer, the red-green-blue (RGB) color of the specified point on a Form.

Syntax

object.PointSet x, y, color

Parameters

object
Optional. Object expression that evaluates to an object. If object is omitted, the Form object with the focus is assumed to be object.
x, y
Required. Single-precision values that indicates the horizontal (x-axis) and vertical (y-axis) coordinates of the point in the ScaleMode property of the Form.
color
Required. The RGB color of a point.

Return Value

None.

Remarks

If the point referred to by the x-coordinate and y-coordinate is outside object, the PointSet method returns -1.