IUIX_Combo::SetItemImage Method

From PDF XChange PDF SDK
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 the operation was successful, or will return an error code if it fails.

See Also

IUIX_Combo