Property LineWeight
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
LineWeight
Gets or sets the lineweight of the layer in the viewport, as AutoCAD's LineWeight: the override, else the layer's.
public DxfLineWeight LineWeight { get; set; }
Property Value
- DxfLineWeight
Set, Default or one of AutoCAD's widths: 0.50 mm is written as 91 of 50.
Exceptions
- ArgumentException
Thrown when the lineweight set is ByLayer, ByBlock, ByDIPs or none of AutoCAD's widths.
- InvalidOperationException
Thrown when the layer or the viewport is erased or in no file, they are of two files, or the file is older than R2000 (AC1015).