Share via


IMSVidRect::put_Left Method

This topic applies to Windows XP or later.
The put_Left method specifies the left x-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.

Syntax

HRESULT put_Left(
  [in]  LONG LeftVal
);

Parameters

  • LeftVal [in]
    Specifies the left x-coordinate, in pixels.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Setting the left x-coordinate also changes the width of the rectangle. For example, if the x-coordinate is zero and the width is 100, setting the x-coordinate to 10 changes the width to 90.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidRect Interface
IMSVidRect::get_HWnd
IMSVidRect::get_Left

Send comments about this topic to Microsoft

Build date: 12/4/2008