Method Delete
Delete(string)
Queues the erasing of an object.
public void Delete(string handle)
Parameters
handlestringIts 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
entityDxfEntityThe 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.