IUIX_Combo::GetItemImage Method
From PDF XChange PDF SDK
Line 14: | Line 14: | ||
:[in] number of an item. | :[in] number of an item. | ||
;ppImage | ;ppImage | ||
− | :[out, retval] Returned object of IUnknown interface. If there is no image in required item, returns | + | :[out, retval] Returned object of <code>IUnknown</code> interface. If there is no image in required item, returns <code>nullptr</code> value. |
== Return Value == | == Return Value == | ||
Line 20: | Line 20: | ||
== Remarks == | == Remarks == | ||
− | Note, that returned object is of IUnknown interface. Use | + | Note, that returned object is of <code>IUnknown</code> interface. Use <code>[[PXV:IUIX_Obj_QueryImpl|QueryImpl]]</code> method to query implementation of <code>[[PXV:IUIX_Icon|IUIX_Icon]]</code> or <code>[[PXV:IUIX_ImageData|IUIX_ImageData]]</code> from <code>IUnknown</code>. |
== See Also == | == See Also == | ||
See also [[PXV:IUIX_Combo|IUIX_Combo]]. | See also [[PXV:IUIX_Combo|IUIX_Combo]]. |
Revision as of 05:44, 19 May 2015
Gets image of required item.
Syntax
HRESULT GetItemImage([in] LONG nItem, [out, retval] IUnknown** ppImage);
Parameters
- nItem
- [in] number of an item.
- ppImage
- [out, retval] Returned object of
IUnknown
interface. If there is no image in required item, returnsnullptr
value.
Return Value
Returns S_OK if operation was successful or error code in other cases.
Remarks
Note, that returned object is of IUnknown
interface. Use QueryImpl
method to query implementation of IUIX_Icon
or IUIX_ImageData
from IUnknown
.
See Also
See also IUIX_Combo.