QPix Command Reference Image Area |

### QPx_InvertAreaImage

QPx_InvertAreaImage(areaRef; selectionOnly):error
| areaRef | Longint | QPix area reference
| selectionOnly | Longint | Invert selection only
| error | Longint | Error result

Inverts the colors of the image in a QPix plug-in area.

The QPix plug-in area is specified by areaRef. If areaRef is not a valid QPix plug-in area reference, qpx_paramErr is returned.

The selectionOnly parameter is a number that denotes what part of the image to invert. To invert the whole image, set selectionOnly to 0. To invert the image portion that is currently selected with the marquee tool, set selectionOnly to 1.

QPix © Escape Information Services
Generated by QDoc 2.6 on Thu, 2 May 2002 00:50:00 +0300