Table of Contents

Method IsValidLineWeight

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

IsValidLineWeight(int)

Gets whether a number is a lineweight DXF writes, as AutoCAD's IsValidLineWeight: one of AutoCAD's 24 widths, 25 for 0.25 mm, or -1, -2 and -3 for by layer, by block and the default; 24 is not.

public bool IsValidLineWeight(int weight)

Parameters

weight int

The weight, in hundredths of a millimetre.

Returns

bool

Whether it is a lineweight.