Partilhar via


Point Method

Returns the red-green-blue (RGB) color of the specified point on a form.

Object.Point ([nXCoord, nYCoord])

Parameters

  • nXCoord
    Specifies the horizontal coordinate of the point, in the units specified in the ScaleMode property setting of the form.
  • nYCoord
    Specifies the vertical coordinate of the point, in the units specified in the ScaleMode property setting of the form.

Remarks

If nXCoord or nYCoord is outside of the form, the Point method returns – 1.

See Also

Circle Method | Line Method | Print Method | PSet Method

Applies To: Form | _SCREEN