IUIX_Combo::SetItemImage Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 2: | Line 2: | ||
{{#customTitle:IUIX_Combo::SetItemImage Method}} | {{#customTitle:IUIX_Combo::SetItemImage Method}} | ||
{{#parentPage:PXV:IUIX_Combo|SetItemImage Method|method}} | {{#parentPage:PXV:IUIX_Combo|SetItemImage Method|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Sets image for an item with a given number. | |
== Syntax == | == Syntax == | ||
Line 13: | Line 12: | ||
== Parameters == | == Parameters == | ||
;nItem | ;nItem | ||
− | :[in] | + | :[in] number of an item to set image for. |
;pImage | ;pImage | ||
− | :[in] | + | :[in] image to set for required item. Note that '''pImage''' object should implement [[PXV:IUIX_Icon|IUIX_Icon]] or [[PXV:IUIX_ImageData|IUIX_ImageData]] interface. |
== Return Value == | == Return Value == |
Revision as of 08:08, 8 May 2015
Sets image for an item with a given number.
Contents
Syntax
HRESULT SetItemImage([in] LONG nItem, [in] IUnknown* pImage);
Parameters
- nItem
- [in] number of an item to set image for.
- pImage
- [in] image to set for required item. Note that pImage object should implement IUIX_Icon or IUIX_ImageData interface.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IUIX_Combo.