QMedia Movie area geometry commands |

### QM_GetMovieRect

QM_GetMovieRect(areaRef; movieLeft; movieTop; movieRight; movieBottom):error
| areaRef | Longint | Movie area reference
| movieLeft | Longint | Movie left
| movieTop | Longint | Movie top
| movieRight | Longint | Movie right
| movieBottom | Longint | Movie bottom
| error | Longint | Error result

Returns the boundary rectangle of the movie in a movie plug-in area. The rectangle's coordinates are relative to the top-left corner of the plug-in area.

The movie plug-in area is specified by areaRef.

Parameters movieLeft, movieTop, movieRight and movieBottom receive the coordinates of the movie's left, top, right and bottom edges respectively. All coordinates are relative to the top-left corner of the plug-in area.

Example

``Get the bounds of the movie in plug-in area xMovieArea` `` `C_LONGINT($left;$top;$right;$bottom)` `` `$error:=QM_GetMovieRect (xMovieArea;$left;$top;$right;$bottom)` ``

Related commands

QM_SetMovieRect | Changes the position and size of the movie in a movie plug-in area.
QM_SetControllerRect | Changes the position and size of the movie controler in a movie plug-in area.
QM_GetControllerRect | Returns the boundary rectangle of the movie controler in a movie plug-in area.

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