Table of Contents

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

name string

Its name, as DASHED.

description string

Its description; null for none.

elements IEnumerable<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.