QMed_CountAreaFrames

QMed_CountAreaFrames(areaRef; numFrames):error
areaRef Longint QMedical area reference
numFrames Longint Number of frames
error Longint Error result

This command returns the number of frames contained in the image that is 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 numFrames receives the number of frames.

Note: This command is similar to QMed_CountImageFrames. 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_GetAreaFrameIndex Returns the current frame of the image currently assigned to a plug-in area

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