Method MatchKeyword
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
MatchKeyword(string)
Finds the keyword a typed answer names: the whole keyword or its capital letters, either case, or a longer start of it; "D", "disp" and "Displacement" all name Displacement, and "CL" names CLose where C names Close. An underscore in front is taken off, as AutoCAD takes "_A" for A.
public string MatchKeyword(string typed)
Parameters
typedstringThe answer typed.
Returns
- string
The keyword as the prompt writes it, or null.