IASImageMenu::put_ItemWidth

This method sets the width of an item.

Syntax

HRESULT put_ItemWidth( long lWidth );

Parameters

lWidth
[in] Long integer that contains the width of an item.

Return Values

NOERROR indicates success. E_INVALIDARG indicates that the argument is invalid.

Remarks

All items must have the same width. Images are centered inside the box that constitutes the menu item.

See Also

IASImageMenu::get_ItemWidth