IUIX_Combo::SetItemImage Method

From PDF XChange PDF SDK
Revision as of 07:13, 20 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Sets image for an item with a given number.

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

IUIX_Combo.