Microsoft DirectX 8.1 (C++)

IMSVidRect.Width

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Width property sets or retrieves the width of the rectangle.

Syntax

objIMSVidRect.Width As Long

Parameters

This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns the width, in pixels.

Remarks

Setting the IMSVidRect.Left property changes the value of this property. For example, if the Left property is zero and the Width property is 100, setting the Left property to 10 changes the Width property to 90.

This property is read/write.

See Also