QMedia Annotation commands


QM_GetTrackAnnotation(movieRef; trackID; annType; annText):error
movieRef Longint Movie reference
trackID Longint Track ID
annType String4 Annotation type
annText Text Annotation text
error Longint Error result

Returns a text annotation from 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 annType specifies the annotation type. For a list of QMedia constants for specifying common annotation types, see the QM_GetMovieAnnTypes command.

Parameter annText receives the annotation's text.


 `Get the track's author annotation
$err:=QM_GetTrackAnnotation ($movie;$trackID;qm_AuthorAnn;$author)

Related commands

QM_GetTrackAnnTypes Returns the annotation types of all annotations present in a track.
QM_SetTrackAnnotation Changes a text annotation in a track.

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