Table of Contents

Method Erase

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Erase()

Erases the linetype from its table, as AutoCAD's Erase of a linetype nothing draws with: its LTYPE record taken out, the table's count lowered by one, its handle not given again.

public override void Erase()

Exceptions

InvalidOperationException

Thrown when the linetype is in no file or is erased already; when it is ByLayer, ByBlock or Continuous, which AutoCAD keeps; when an entity, a layer or a style of multilines draws with it, or the header names it ($CELTYPE, $DIMLTYPE, $DIMLTEX1, $DIMLTEX2); or when an object of the file points at it, as a dimension style.