QMedical Command Reference
![]() |
![]() |
QMed_GetAreaFrameIndex(areaRef; frameIndex):error | |||
![]() |
areaRef | Longint | QMedical area reference |
![]() |
frameIndex | Longint | Frame index |
![]() |
error | Longint | Error result |
Returns the current frame of the image currently assigned to a 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 frameIndex receives the current frame index.
Note: This command is similar to QMed_GetImageFrameIndex. The main difference is that here the plug-in area reference is used as a parameter instead of the image reference.
Related commands
QMed_SetAreaFrameIndex | Changes the current frame of the image currently assigned to a plug-in area |
QMed_CountAreaFrames | Returns the number of frames in the image currently assigned to a plug-in area |