IASImageMenu::get_ItemWidth

This method gets the width of an item.

Syntax

HRESULT get_ItemWidth( long *plWidth );

Parameters

plWidth
[out] Pointer to the 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 be the same size. Images are centered inside the box that constitutes the menu item.