Click or drag to resize

DxfDocumentRemoveEntity Method (IEnumerableEntityObject)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Removes a list of entities from the document.

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public void RemoveEntity(
	IEnumerable<EntityObject> entities
)
Request Example View Source

Parameters

entities
Type: System.Collections.GenericIEnumerableEntityObject
A list of entities to remove from the document.
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, and application registries.
Entities that are part of a block definition will not be removed.
See Also