GRAPHIC GET PIXEL statement

Purpose

Retrieve the color of the pixel at the specified point in the selected graphic target.

Syntax

GRAPHIC GET PIXEL (x!, y!) TO rgbColor&

Remarks

The graphic target must first be selected with GRAPHIC ATTACH.  The coordinate points x, y are specified in the same terms (pixels or dialog units) as the parent dialog (or world coordinates, if those were chosen with GRAPHIC SCALE).

See also

GRAPHIC ATTACH, GRAPHIC COLOR, GRAPHIC SET PIXEL