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.