DxfImage.AddEntity
DxfImage.AddEntity method
Adds entity.
public void AddEntity(CadEntityBase entity)
Parameter | Type | Description |
---|---|---|
entity | CadEntityBase | 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 CadEntityBase
- class DxfImage
- namespace Aspose.CAD.FileFormats.Cad
- assembly Aspose.CAD