Table of Contents

Method Of

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Of(CadDocument, string, int)

Gets the items of the menu a grip shows when the cursor rests on it.

public static IReadOnlyList<CadGripMenuItem> Of(CadDocument document, string handle, int gripIndex)

Parameters

document CadDocument

The document.

handle string

The handle of the entity.

gripIndex int

The index of the grip, as Of(DxfEntity) gives it.

Returns

IReadOnlyList<CadGripMenuItem>

The items in the order they are listed; empty for a grip with no menu, or no such entity or grip.

Exceptions

ArgumentNullException

Thrown when the document is null.