QMedia
![]() |
![]() ![]() |
QM_GetTrackDimensions(movieRef; trackID; trackWidth; trackHeight):error | |||
![]() |
movieRef | Longint | Movie reference |
![]() |
trackID | Longint | Track ID |
![]() |
trackWidth | Real | Track width |
![]() |
trackHeight | Real | Track height |
![]() |
error | Longint | Error result |
Returns the natural dimensions of 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.
Parameters trackWidth and trackHeight receive the track's natural dimensions.
Example
`Get the dimensions of track ID $trackID of movie $movie C_REAL($trackWidth;$trackHeight) $err:=QM_SetTrackDimensions ($movie;$trackID;$trackWidth;$trackHeight) |
Related commands
QM_SetTrackDimensions | Sets the track's natural dimensions. |