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.
Example
`Get the track's author annotation C_TEXT($author) $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. |