IASImageMenu::put_ImageWidth

This method sets the width of an image.

Syntax

HRESULT put_ImageWidth( long lWidth );

Parameters

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

Return Values

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

Remarks

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