CADability dotNET
CADability handles many commands invoked by the user interface. You will find all valid MenuIds in the MenuResource.xml file, that is provided with the installation. Use this method to invoke the execution of the desired action.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public bool ExecuteMenu(
	string MenuId
)
Visual Basic
Public Function ExecuteMenu ( _
	MenuId As String _
) As Boolean
Visual C++
public:
bool ExecuteMenu(
	String^ MenuId
)

Parameters

MenuId
Type: System..::..String
Id of the menu to be executed

Return Value

true if handled, false otherwise

See Also