QMedical Command Reference Area Image

QMed_GetAreaPicture

QMed_GetAreaPicture(areaRef; areaPict):error
areaRef Longint QMedical area reference
areaPict Picture 4th Dimension picture variable
error Longint Error result

Returns a picture containing the image currently being displayed 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.

Parameter areaPict receives a picture containing the image.



Example


  `Get the 4D picture displayed in area

C_LONGINT($error)
C_PICTURE($pict)

$error:=QMed_GetAreaPicture (gAreaRef;$pict)

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



Related commands

QMed_SetAreaPicture Displays a 4D picture in a QMedical area

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