Eplan Platform API
Eplan.EplApi.Gui Namespace / RibbonBar Class / RegisterCommand Method / RegisterCommand(RibbonCommandInfo,RibbonIcon,String,String) Method
Object which are used as a template for a new ribbon command
Ribbon icon object which are used to create icon based on it
The name of the tab
The name of the command group

In This Topic
    RegisterCommand(RibbonCommandInfo,RibbonIcon,String,String) Method
    In This Topic
    Adds a command to the ribbon. If the ribbon doesn't exist yet, the command will be added after the system start is finished
    Syntax

    Parameters

    ribbonCommandInfo
    Object which are used as a template for a new ribbon command
    icon
    Ribbon icon object which are used to create icon based on it
    tabName
    The name of the tab
    commandGroupName
    The name of the command group
    Remarks
    If tabName or commandGroupName is empty, the command is added to the command group Extensions->API
    See Also