CommandBarItem.SetImage

This function sets the icon of the command bar button.

Syntax Parameters Return Value
Sub CommandBarItem.SetImage( _
    ImageIndex As Integer, _
    Optional Locked As Boolean = True)
  • ImageIndex [in]

Type: Integer

  • Locked [in,optional]

Type: Boolean

Default value: True

This function does not return a value.