QPx_SetAreaSelection(areaRef; areaRef; areaRef; areaRef; areaRef):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

Set the selection marquee in a scrollable 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.

Parameters selLeft, selTop, selRight and selBottom specify the selection marquee. The specified rectangle is automatically constrained to the image rectangle (no error is returned).

Related commands

QPx_GetAreaSelection Get the selection maquee of a scrollable QPix plug-in area