Table of Contents

Property LineWeight

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

LineWeight

Gets or sets the lineweight of the layer (group 370); ByLineWeightDefault where the record gives none.

public DxfLineWeight LineWeight { get; set; }

Property Value

DxfLineWeight

Set, one of AutoCAD's weights or the default; a layer takes no weight by layer or by block.

Exceptions

ArgumentOutOfRangeException

Thrown when the weight set is by layer, by block, or not one of AutoCAD's.

InvalidOperationException

Thrown when set in a file older than R2000 (AC1015), which has no lineweights.