QPix Command Reference Image Area |

### QPx_SetAreaPicture

QPx_SetAreaPicture(areaRef; areaPict):error
| areaRef | Longint | QPix area reference
| areaPict | Picture | 4D picture variable to be displayed
| error | Longint | Error result

Displays a 4D picture variable 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 variable to be displayed is specified in areaPict.

Example

``Display a 4D picture in the plug-in area` `` `C_LONGINT($error)` `C_PICTURE($pict)` `` `$pict:=[Widgets]Photo` `` `$error:=QPx_SetAreaPicture (gQPixArea;$pict)` `` `If ($error#qpx_noErr)` ``Handle the error` `End if`

Related commands

QPx_GetAreaPicture | Gets the 4D picture being displayed in a QPix area

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