Click or drag to resize

DxfDocumentRemoveEntity Method

Removes an entity from the document.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.52
Syntax
public bool RemoveEntity(
	EntityObject Entity
)

Parameters

Entity
Type: DXFReaderNET.EntitiesEntityObject
The entity to remove from the document.

Return Value

Type: Boolean
True 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