Table of Contents

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

space CadSpace

The space.

entity T

The entity, in no drawing yet.

Returns

T

The entity, now in the space with a handle.

Type Parameters

T

The kind of entity.

Exceptions

ArgumentNullException

Thrown when the space or the entity is null.