QMedical Command Reference Area Image

QMed_SetAreaPicture

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

Displays a 4D picture variable in a QMedical plug-in area.

The QMedical plug-in area is specified by areaRef. If areaRef is not a valid QMedical plug-in area reference, qmed_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]XRay

$error:=QMed_SetAreaPicture (gAreaRef;$pict)

If ($error # qmed_noErr)
   `Handle the error
End if 



Related commands

QMed_GetAreaPicture Returns a picture containing the plug-in area image

QMedical © Escape Information Services
Generated by QDoc 2.7 on Wed, Mar 24, 2004 17:00:36