### QPx_ResizeAreaImage

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

Resizes 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 horizontal and vertical resize factors are specified by the hScale and vScale parameters respectively.

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

qpx_ResizeHighQuality | 0x0004 | High quality resizing

Example

``Resize area image (shrink 50%)` `` `C_LONGINT($error)` `` `$error:=QPx_ResizeAreaImage (gQPixArea;0.5;0.5)` ``

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