IPicture::get_Height method (ocidl.h)

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

Syntax

HRESULT get_Height(
  [out] OLE_YSIZE_HIMETRIC *pHeight
);

Parameters

[out] pHeight

A pointer to a variable that receives the height.

Return value

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

Return code Description
S_OK
The height was returned successfully.
E_POINTER
The value of pHeight is not valid. For example, it may be NULL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also

IPicture