IPicture::get_Width method
Retrieves the current width of the picture in the picture object.
Syntax
HRESULT get_Width( [out] OLE_XSIZE_HIMETRIC *pWidth );
Parameters
- pWidth [out]
-
A pointer to a variable that receives the width.
Return value
This method supports the standard return value E_FAIL, as well as the following values.
| Return code | Description |
|---|---|
|
The width was returned successfully. |
|
The value of pWidth is not valid. For example, it may be NULL. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IPicture is defined as 7BF80980-BF32-101A-8BBB-00AA00300CAB |
See also
Show: