QMedical Command Reference
![]() |
![]() ![]() |
QMed_GetImagePath(imageRef; imagePath):error | |||
![]() |
imageRef | Longint | Reference to the image |
![]() |
imagePath | Text | Full path to image file |
![]() |
error | Longint | Error result |
Returns the pathname of the file associated with ai image reference.
The image reference is specified by imageRef. The pathname of the file referenced by imageRef is returned in imagePath.
If imageRef is not a valid image reference, or if it does not refer to an image file, the qmed_paramErr error code is returned.
Example
`Get image info C_LONGINT($error) C_TEXT($imagePath) C_LONGINT($width;$height;$depth;$hRes;$vRes) $imagePath:="Hard disk:images:people.gif" $error:=QPx_GetImageFileInfo ($imagePath;$width;$height;$depth;$hRes;$vRes) If ($error=qpx_noErr) `Work with image info End if |