DxfDocumentRemoveEntity Method
|
Removes an
entity from the document.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public bool RemoveEntity(
EntityObject Entity
)
Public Function RemoveEntity (
Entity As EntityObject
) As Boolean
public:
bool RemoveEntity(
EntityObject^ Entity
)
member RemoveEntity :
Entity : EntityObject -> bool
METHOD RemoveEntity(
Entity AS EntityObject
) AS LOGIC
Parameters
- Entity
- Type: DXFReaderNET.EntitiesEntityObject
The entity to remove from the document.
Return Value
Type:
BooleanTrue if item is successfully removed; otherwise, false. This method also returns false if item was not found.
Remarks
This function will not remove other tables objects that might be not in use as result from the elimination of the entity.
This includes empty layers, blocks not referenced anymore, line types, text styles, dimension styles, multiline styles, groups, and application registries.
Entities that are part of a block definition will not be removed.
See Also