Table of Contents

Method Delete

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Delete(CadDocument, string)

Deletes a style, as Delete of the Multileader Style Manager: refused for Standard, the current style and a style a multileader is drawn in, as AutoCAD greys Delete for them.

public static CadEditResult Delete(CadDocument document, string name)

Parameters

document CadDocument

The document.

name string

The style's name.

Returns

CadEditResult

What came of it.

Exceptions

ArgumentNullException

Thrown when the document is null.