Microsoft DirectX 8.1 (C++)

IMSVidRect.Left

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

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

Syntax

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

Remarks

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