NetXP 3.0 Reference

MenuImageExtender.SetImage Method 

Used to set a Image property value for a specific MenuItem component instance.

[Visual Basic]
Public Sub SetImage( _
   ByVal component As Component, _
   ByVal imageValue As Image _
)
[C#]
public void SetImage(
   Component component,
   Image imageValue
);

Parameters

component
The MenuItem object to store
imageValue
The value to associate with the menu item

See Also

MenuImageExtender Class | NETXP.Components.Extenders Namespace