IUIX_Combo::GetItemImage Method
From PDF XChange PDF SDK
Line 3: | Line 3: | ||
{{#customTitle:IUIX_Combo::GetItemImage Method}} | {{#customTitle:IUIX_Combo::GetItemImage Method}} | ||
{{#parentPage:PXV:IUIX_Combo#Methods|GetItemImage|method}} | {{#parentPage:PXV:IUIX_Combo#Methods|GetItemImage|method}} | ||
− | + | ||
Gets ''image'' of required item. | Gets ''image'' of required item. |
Latest revision as of 13:08, 15 June 2015
Gets image of required item.
Syntax
HRESULT GetItemImage([in] LONG nItem, [out, retval] IUnknown** pImage);
Parameters
- nItem
- [in] number of an item.
- pImage
- [out, retval] Returned object of
IUnknown
interface. If there is no image in required item, returnsnullptr
value.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.
Remarks
Note, that returned object is of IUnknown
interface. Use QueryImpl
method to query implementation of IUIX_Icon
or IUIX_ImageData
from IUnknown
.