Table of Contents

Method SetLinetype

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SetLinetype(CadDocument, string, string)

Gives a layer a linetype the drawing has, as the Layer manager does; one it has not is refused, as the library keeps no standard linetypes of its own to load one from (AutoCAD's acad.lin is Autodesk's and is not shipped).

public static CadEditResult SetLinetype(CadDocument document, string name, string linetype)

Parameters

document CadDocument

The document.

name string

The layer's name.

linetype string

The linetype's name, as Continuous or DASHED.

Returns

CadEditResult

What came of it.