Method Erase
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Erase()
Erases the style from its table, as AutoCAD's Erase of a text style nothing is written in: its STYLE record taken
out, the table's count lowered by one, its handle not given again.
public override void Erase()
Exceptions
- InvalidOperationException
Thrown when the style is in no file or is erased already; when it is Standard or the current style (
$TEXTSTYLE), which AutoCAD keeps, or the header's$DIMTXSTY; when a text, an MTEXT, an attribute or a table is written in it; or when an object of the file points at it, as a dimension style does by its DIMTXSTY.