QPix Command Reference Image Area |

### QPx_SetAreaZoomFactor

QPx_SetAreaZoomFactor(areaRef; zoomFactor):error
| areaRef | Longint | QPix area reference
| zoomFactor | Real | Zoom factor
| error | Longint | Error result

Changes the zoom factor of 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.

Parameter zoomFactor specifies the zoom factor. It must be in the range of 1/16 to 16. Passing 1 as the zoom factor displays the area content in normal size (100%).

Related commands

QPx_GetAreaZoomFactor | Returns the zoom factor of a scrollable QPix plug-in area

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