Table of Contents

Method AddRibbonTab

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

AddRibbonTab(CadRibbonTab)

Adds a ribbon tab: after the Plugins tab and before Settings, in the order the plugins were loaded. Its panels are read when Initialize returns, so they may be added to it afterwards here. A tab whose id another loaded plugin, or an earlier tab of this one, uses is left out, with a line in Problems.

public void AddRibbonTab(CadRibbonTab tab)

Parameters

tab CadRibbonTab

The tab.

Exceptions

ArgumentNullException

Thrown when the tab is null.

InvalidOperationException

Thrown when Initialize has returned.