IPicture::get_Height

Returns the current height of the picture in the picture object.

HRESULT get_Height(
  OLE_YSIZE_HIMETRIC* pheight  //Receives a pointer to height
);
 

Parameters

pheight
[out] Pointer to the caller's OLE_YSIZE_HIMETRIC variable that receives the height.

Return Values

This method supports the standard return value E_FAIL, as well as the following:

S_OK
The height was returned successfully.
E_POINTER
The address in pheight is not valid. For example, it may be NULL.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.