共用方式為


IMSVidRect::get_Height

 
Microsoft DirectShow 9.0

IMSVidRect::get_Height

This topic applies to Windows XP or later.

The get_Height method retrieves the height of the rectangle.

Syntax

  HRESULT get_Height(
  
  LONG*
  
  HeightVal
  
  );

Parameters

  pHeightVal

[out]  Pointer to a variable that receives the height, in pixels.

Return Values

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

Remarks

Calling the IMSVidRect::put_Top method changes the height of the rectangle. For example, if the y-coordinate is zero and the height is 100, setting the y-coordinate to 10 changes the height to 90.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also