QMed_GetAreaImage

QMed_GetAreaImage(areaRef; imageRef):error
areaRef Longint QMedical area reference
imageRef Longint Image reference
error Longint Error result

Returns the image reference currently assigned to 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 imageRef receives the image reference currently assigned the plug-in area.

Example

  `Get the area image
 
C_LONGINT($error)
C_LONGINT($areaImage)
 
$error:=QMed_GetAreaImage (gAreaRef;$areaImage)
 
If ($error=qmed_noErr)
 
   `$areaImage is the image currently assigned to gAreaRef
 
End if

Related commands

QMed_SetAreaImage Assigns an image reference to a QMedical plug-in area

QMedical © Escape
Generated by QDoc 2.8 on Wed, Jan 27, 2010 17:55:03