QMedia
![]() |
![]() ![]() |
QM_GetMovieAnnotation(movieRef; annType; annText):error | |||
![]() |
movieRef | Longint | Movie reference |
![]() |
annType | String4 | Annotation type |
![]() |
annText | Text | Annotation text |
![]() |
error | Longint | Error result |
Returns a text annotation from a movie.
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 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 movie's author annotation C_TEXT($author) $err:=QM_GetMovieAnnotation ($movie;qm_AuthorAnn;$author) |
Related commands
QM_GetMovieAnnTypes | Returns the annotation types of all annotations present in a movie. |
QM_SetMovieAnnotation | Changes a text annotation in a movie. |