QMedia Text media commands


QM_SetTextMediaJust(movieRef; trackID; textJust):error
movieRef Longint Movie reference
trackID Longint Track ID
textJust Longint Text justification
error Longint Error result

Changes the text justification that is used when adding samples to a text track.

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

Parameter trackID is the ID of the track.

Parameter textJust specifies the text justification. QMedia defines the following constants:

qm_JustLeft 0 Justify left
qm_JustCenter 1 Justify center
qm_JustRight 2 Justify right

QMedia sets the default text justification to qm_JustLeft (0).


  `Set text media justification for track ID $trackID
$err:=QM_SetTextMediaJust ($movie;$trackID;$just)

Related commands

QM_GetTextMediaJust Returns the justification of new text samples.

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