IASImageMenu::get_ImageWidth

This method gets the width of an image.

Syntax

HRESULT get_ImageWidth( long *plWidth );

Parameters

plWidth
[out] Pointer to the 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.