IPicture::get_Width

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

HRESULT get_Width(

OLE_XSIZE_HIMETRIC* pwidth

//Receives a pointer to width

);

Parameters

pwidth
[out] Pointer to the caller’s OLE_XSIZE_HIMETRIC variable that receives the width.

Return Values

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

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