XPRINT GET PIXEL statement

Purpose | Retrieves the color of a pixel on a host printer page.
Syntax | XPRINT GET PIXEL [STEP] (x!, y!) TO PixelVar& Function Form: PixelVar& = XPRINT(PIXEL [STEP], x!, y!)
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 | Built In RGB Color Equates, XPRINT ATTACH, XPRINT COLOR, XPRINT SET PIXEL