DxfImage.AddEntity

DxfImage.AddEntity method

Adds entity.

public void AddEntity(CadEntityBase entity)
ParameterTypeDescription
entityCadEntityBaseEntity to add.

Exceptions

exceptioncondition
ArgumentNullExceptionThrown when entity is null
InvalidOperationExceptionThrown if the current entity has been added before
NotSupportedExceptionThrown if adding of the current entity is not implemented

See Also