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
documentCadDocumentThe document.
handlestringThe handle of the entity.
gripIndexintThe 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.