Method Append
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Append<T>(CadSpace, T)
Adds an entity made in code to a space and records it as added.
public T Append<T>(CadSpace space, T entity) where T : DxfEntity
Parameters
spaceCadSpaceThe space.
entityTThe entity, in no drawing yet.
Returns
- T
The entity, now in the space with a handle.
Type Parameters
TThe kind of entity.
Exceptions
- ArgumentNullException
Thrown when the space or the entity is null.