Constructor CadLinetypeDefinition
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadLinetypeDefinition(string, string, IEnumerable<CadLinetypeElement>)
Makes a linetype.
public CadLinetypeDefinition(string name, string description, IEnumerable<CadLinetypeElement> elements)
Parameters
namestringIts name, as DASHED.
descriptionstringIts description; null for none.
elementsIEnumerable<CadLinetypeElement>The elements of its pattern, at least one.
Exceptions
- ArgumentNullException
Thrown when the name or the elements are null.
- ArgumentException
Thrown when the name is blank or there is no element.