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