共用方式為


IMSVidRect Interface

 
Microsoft DirectShow 9.0

IMSVidRect Interface

This topic applies to Windows XP or later.

The IMSVidRect interface represents a rectangle with an associated window handle. It contains methods to set and retrieve the top and left coordinates, the width, and the height. All values are in pixels. The top and left coordinates are relative to the associated window.

In addition to the methods inherited from IDispatch, the IMSVidRect interface exposes the following methods.

Method Description
get_Height Retrieves the height of the rectangle.
get_HWnd Retrieves the window associated with the rectangle.
get_Left Retrieves the left x-coordinate of the rectangle.
get_Top Retrieves the top y-coordinate of the rectangle.
get_Width Retrieves the width of the rectangle.
put_Height Specifies the height of the rectangle
put_HWnd Specifies the window associated with the rectangle.
put_Left Specifies the left x-coordinate of the rectangle.
put_Rect Copies the values of another rectangle to this rectangle.
put_Top Specifies the top y-coordinate of the rectangle.
put_Width Specifies the width of the rectangle.

See Also