Table of Contents

Method NameOf

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

NameOf(CadSnapKind)

Gets the name of a snap kind as AutoCAD's tooltip writes it: "Endpoint", "Geometric Center", "Apparent Intersection".

public static string NameOf(CadSnapKind kind)

Parameters

kind CadSnapKind

The snap kind.

Returns

string

The name; empty for none.