Microsoft DirectX 9.0

IMSVidRect Object

This topic applies to Windows XP only.

The IMSVidRect object represents a rectangle with an associated window handle. It contains properties that define the size and position of the rectangle. 

The top and left coordinates are relative to the associated window. The height and width are relative to the top left corner of the rectangle. All values are in pixels.

This object exposes the following properties.

Property Description
Height Sets or retrieves the height of the rectangle.
HWnd Not supported for Visual Basic.
Left Sets or retrieves the left x-coordinate of the rectangle.
Top Sets or retrieves the top y-coordinate of the rectangle.
Width Sets or retrieves the width of the rectangle.
Rect Copies the values of another rectangle to this rectangle.