QMedia
![]() |
![]() ![]() |
QM_GetAreaRect(areaRef; areaLeft; areaTop; areaRight; areaBottom):error | |||
![]() |
areaRef | Longint | Movie area reference |
![]() |
areaLeft | Longint | Area left |
![]() |
areaTop | Longint | Area top |
![]() |
areaRight | Longint | Area right |
![]() |
areaBottom | Longint | Area bottom |
![]() |
error | Longint | Error result |
Returns the coordinates of a movie plug-in area. The area coordinates are relative to the top-left corner of the window where the area resides in.
The movie plug-in area is specified by areaRef.
Parameters areaLeft, areaTop, areaRight and areaBottom receive the coordinates of the area's left, top, right and bottom edges respectively. All coordinates are relative to the top-left corner of the window where the area resides in.
Example
`Get the bounds of plug-in area xMovieArea C_LONGINT($left;$top;$right;$bottom) $error:=QM_GetAreaRect (xMovieArea;$left;$top;$right;$bottom) |
Related commands
QM_GetMovieRect | Returns the boundary rectangle of the movie in a movie plug-in area. |
QM_GetControllerRect | Returns the boundary rectangle of the movie controler in a movie plug-in area. |