DxfImage.AddEntity
DxfImage.AddEntity method
Adds entity.
public void AddEntity(CadBaseEntity entity)
| Parameter | Type | Description |
|---|---|---|
| entity | CadBaseEntity | Entity to add. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when entity is null |
| InvalidOperationException | Thrown if the current entity has been added before |
| NotSupportedException | Thrown if adding of the current entity is not implemented |
See Also
- class CadBaseEntity
- class DxfImage
- namespace Aspose.CAD.FileFormats.Cad
- assembly Aspose.CAD