Table of Contents

Method AddCanvasMenu

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

AddCanvasMenu(CadCanvasMenuProvider)

Adds items to the right-click menu of the canvas for the objects selected, after the extensions' items and before the presenter's own.

public void AddCanvasMenu(CadCanvasMenuProvider provider)

Parameters

provider CadCanvasMenuProvider

The provider.

Exceptions

ArgumentNullException

Thrown when the provider is null.

InvalidOperationException

Thrown when Initialize has returned.