Table of Contents

Property LineWeight

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

LineWeight

Gets or sets the lineweight of the entity (group 370), as AutoCAD's LineWeight: LineWeight025 is a line 0.25 mm wide; ByLayer where the record gives none.

public DxfLineWeight LineWeight { get; set; }

Property Value

DxfLineWeight

Set, one of DxfLineWeight.

Exceptions

ArgumentOutOfRangeException

Thrown when the weight set is not one of AutoCAD's.

InvalidOperationException

Thrown when the entity is erased, or a weight is set on one of a file older than R2000 (AC1015), which has no lineweights.