Microsoft DirectX 9.0


This topic applies to Windows XP only.

The Left property sets or retrieves the left x-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.


objIMSVidRect.Left 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 left x-coordinate, in pixels.


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

This property is read/write.

See Also