Condividi tramite


IMSVidRect interface (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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.

Inheritance

The IMSVidRect interface inherits from the IDispatch interface. IMSVidRect also has these types of members:

Methods

The IMSVidRect interface has these methods.

 
IMSVidRect::get_Height

The get_Height method retrieves the height of the rectangle.
IMSVidRect::get_HWnd

The get_HWnd method retrieves the window associated with the rectangle.
IMSVidRect::get_Left

The get_Left method retrieves the left x-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.
IMSVidRect::get_Top

The get_Top method retrieves the top y-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.
IMSVidRect::get_Width

The get_Width method retrieves the width of the rectangle.
IMSVidRect::put_Height

The put_Height method specifies the height of the rectangle.
IMSVidRect::put_HWnd

The put_HWnd method specifies the window associated with the rectangle.
IMSVidRect::put_Left

The put_Left method specifies the left x-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.
IMSVidRect::put_Rect

The put_Rect method copies the values of another rectangle to this rectangle.
IMSVidRect::put_Top

The put_Top method specifies the top y-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.
IMSVidRect::put_Width

The put_Width method specifies the width of the rectangle.

Remarks

To declare the interface identifier (IID) for this interface, use the __uuidof operator: __uuidof(IMSVidRect).

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IDispatch

Video Control Interfaces