XPRINT GET PIXEL statement

Purpose

Retrieve the color of a pixel on a host printer page.

Syntax

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

Remarks

Not all printer drivers support the ability to retrieve the color of a pixel.  If this feature is not supported, or if the coordinates are outside the printer client area, an invalid color value of -1 is returned.  If no host printer is attached, error 57 is generated.

See also

XPRINT ATTACH, XPRINT COLOR, XPRINT SET PIXEL