Table of Contents

Method SetLineWeight

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SetLineWeight(CadDocument, string, DxfLineWeight)

Gives a layer a lineweight: Default, or one of AutoCAD's widths; ByLayer and ByBlock are refused, as a layer cannot take them.

public static CadEditResult SetLineWeight(CadDocument document, string name, DxfLineWeight lineWeight)

Parameters

document CadDocument

The document.

name string

The layer's name.

lineWeight DxfLineWeight

The lineweight.

Returns

CadEditResult

What came of it.