QMedia Text media commands


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

Returns the text justification currently 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 receives 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 of track ID $trackID
$err:=QM_GetTextMediaJust ($movie;$trackID;$just)

Related commands

QM_SetTextMediaJust Changes the justification of new text samples.

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