Microsoft DirectX 9.0


This topic applies to Windows XP only.

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


objIMSVidRect.Width As Long


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.


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