QPx_ResizeAreaImage(areaRef; areaRef; areaRef; areaRef):error
areaRef Longint QPix area reference
hScale Real Horizontal scale
vScale Real Vertical scale
resizeOptions Longint Options
error Longint Error result

Resize the image in a QPix 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 horizontal and vertical resize factors are specified by the hScale and vScale parameters respectively.

The resizeOptions parameter is optional. It can be used to specify options for the resizing operation.

qpx_ResizeHighQuality 0x0004 High quality resizing


   // Resize area image (shrink 50%)


$error:=QPx_ResizeAreaImage (gQPixArea;0.5;0.5)