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
documentCadDocumentThe document.
namestringThe layer's name.
lineWeightDxfLineWeightThe lineweight.
Returns
- CadEditResult
What came of it.