API Help
Eplan.EplApi.Gui Namespace / Menu Class / GetPersistentMenuId Method / GetPersistentMenuId(String) Method
the name (caption) of the menu

In This Topic
    GetPersistentMenuId(String) Method
    In This Topic
    Get a menu command id of a persistent EPLAN menu item.
    Syntax
    public uint GetPersistentMenuId( 
       string strText
    )
    public:
    uint GetPersistentMenuId( 
       String^ strText
    ) 

    Parameters

    strText
    the name (caption) of the menu

    Return Value

    the command id (menu id)
    Remarks
    The id will never change. With this method, you cannot retrieve command (menu) ids of custom menu items, eg. menu items created by API. To get custom menu ids, please use the GetCustomMenuId method.
    See Also