Table of Contents

Method GetNearestLineWeight

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetNearestLineWeight(int)

Gets the lineweight of AutoCAD nearest to a weight, as AutoCAD's GetNearestLineWeight: 0.24 mm, 24, gives LineWeight025; a weight halfway between two the thicker, one above 2.11 mm LineWeight211 and one below nought LineWeight000.

public DxfLineWeight GetNearestLineWeight(int weight)

Parameters

weight int

The weight, in hundredths of a millimetre.

Returns

DxfLineWeight

The lineweight.