QPx_SetAreaPicture
QPx_SetAreaPicture(areaRef; areaRef):error | |||
---|---|---|---|
![]() |
areaRef | Longint | QPix area reference |
![]() |
areaPict | Picture | 4D picture variable to be displayed |
![]() |
error | Longint | Error result |
Display a 4D picture 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 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:=[Images]Picture $error:=QPx_SetAreaPicture (gQPixArea;$pict) If ($error#qpx_noErr) // Handle the error End if
Related commands
QPx_GetAreaPicture | Get the 4D picture being displayed in a QPix area |