Syntax
C++
C#
Visual Basic .NET
Parameters
CommandId [in] Specifies the element to be added to the toolbar as a MenuItemEnum constant. See the list of available elements: Image Viewer commandsText Editor commands Index [in] Specifies the position of the element in the toolbar. Must be in a range from 0 to the value of the IToolbar::Count property. This variable can be set to -1. In this case, the element will be inserted at the end of the toolbar.
