API Help
Eplan.EplApi.Gui Namespace / Toolbar Class / AddButton Method / AddButton(String,Int32,Int32) Method
the name of the toolbar.
The position to add this button. First position is zero
the persistent command id of the button. The value should be 0 to create the separator.

In This Topic
AddButton(String,Int32,Int32) Method
In This Topic
add a new button or separator to the custom toolbar
Syntax
public void AddButton( 
   string strToolbarName,
   int nAt,
   int nCommandId
)

Parameters

strToolbarName
the name of the toolbar.
nAt
The position to add this button. First position is zero
nCommandId
the persistent command id of the button. The value should be 0 to create the separator.
See Also