QPix Command Reference Image Area |

### QPx_GetAreaPicture

QPx_GetAreaPicture(areaRef; areaPict):error
| areaRef | Longint | QPix area reference
| areaPict | Picture | 4th Dimension picture variable
| error | Longint | Error result

Returns the 4D picture currently being displayed 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 4D picture being displayed in areaRef is returned in areaPict. If areaRef is not currently displaying a 4D picture, areaPict is set to a null picture and the qpx_paramErr error code is returned.

Example

`` ``Get the 4D picture displayed in area` `` `C_LONGINT($error)` `C_PICTURE($pict)` `` `$error:=QPx_GetAreaPicture (gQPixArea;$pict)` `` `If ($error#qpx_noErr)` ``Handle the error` `End if`

Related commands

QPx_SetAreaPicture | Displays a 4D picture in a QPix area

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