### QPx_GetAreaSelection

QPx_GetAreaSelection(areaRef; selLeft; selTop; selRight; selBottom):error
| areaRef | Longint | QPix area reference
| selLeft | Longint | Selection rect left
| selTop | Longint | Selection rect top
| selRight | Longint | Selection rect right
| selBottom | Longint | Selection rect bottom
| error | Longint | Error result

Returns the selection rectangle of a scrollable QPix plug-in area, that was set either using the marquee tool or procedurally, using QPx_SetAreaSelection.

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

Parameters selLeft, selTop, selRight and selBottom receive the selection rectangle.

Related commands

QPx_SetAreaSelection | Changes the selection rectangle in a scrollable QPix plug-in area

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:44:07