QMedia Annotation commands

QM_GetTrackAnnTypes

QM_GetTrackAnnTypes(movieRef; trackID; annTypes):error
movieRef Longint Movie reference
trackID Longint Track ID
annTypes Array string Annotation types
error Longint Error result

Returns the annotation types of all annotations present in a track.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter trackID is the ID of the track.

Parameter annTypes is an array of four character strings that receives the annotation types. For a list of QMedia constants for identifying common annotation types, see the QM_GetMovieAnnTypes command.

Example

 ARRAY STRING(4;$annotationTypes;0)
 
 $err:=QM_GetTrackAnnTypes ($movie;$trackID;$annotationTypes)
 

Related commands

QM_SetTrackAnnotation Changes a text annotation in a track.
QM_GetTrackAnnotation Returns a text annotation from a track.
QM_DeleteTrackAnnotation Removes a text annotation from a track.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:43:15