Table of Contents

Method Delete

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

Delete(string)

Queues the erasing of an object.

public void Delete(string handle)

Parameters

handle string

Its handle in the drawing, or the ticket Insert(DxfEntity, string) gave.

Exceptions

ArgumentNullException

Thrown when the handle is null.

CadRemoteException

Thrown when the handle is the ticket of an object not committed yet.

Delete(DxfEntity)

Queues the erasing of an object read from this drawing.

public void Delete(DxfEntity entity)

Parameters

entity DxfEntity

The object, as GetObject(string) returned it.

Exceptions

ArgumentNullException

Thrown when the entity is null.

ArgumentException

Thrown when the entity was not read from this drawing.