QMedia Annotation commands

QM_SetMovieAnnotation

QM_SetMovieAnnotation(movieRef; annType; annText):error
movieRef Longint Movie reference
annType String4 Annotation type
annText Text Annotation text
error Longint Error result

Changes a text annotation in a movie. If the specified annotation does not exist, it is created.

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

Parameter annType specifies the annotation type. For a list of QMedia constants for specifying common annotation types, see the QM_GetMovieAnnTypes command.

Parameter annText is the annotation's text.

Example

 `Set the movie's comment
 
C_TEXT($comment)
$comment:="This is a comment"
$err:=QM_SetMovieAnnotation ($movie;qm_CommentAnn;$comment)
 

Related commands

QM_GetMovieAnnTypes Returns the annotation types of all annotations present in a movie.
QM_GetMovieAnnotation Returns a text annotation from a movie.

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