QMedia Movie properties commands |

### QM_GetMovieDimensions

QM_GetMovieDimensions(movieRef; movieWidth; movieHeight):error
| movieRef | Longint | Movie reference
| movieWidth | Real | Movie width
| movieHeight | Real | Movie height
| error | Longint | Error result

Returns the natural width and height of 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.

Parameters movieWidth and movieHeight receive the movie's natural width and height in pixels.

Example

``Get the dimensions of movie $movieRef` `` `C_REAL($width;$height)` `` `$error:=QM_GetMovieDimensions ($movieRef;$width;$height)` ``

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