Click or drag to resize

DxfDocumentRemoveEntities Method

Removes a list of entities from the document.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public void RemoveEntities(
	IEnumerable<EntityObject> Entities = null
)

Parameters

Entities (Optional)
Type: System.Collections.GenericIEnumerableEntityObject
A list of entities to remove from the document. If not set all entities will be removed.
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.
Examples
Mirror selected entities about Y axis.
[C#]
dxfReaderNETControl1.DXF.RotateEntitiesAboutAxis(dxfReaderNETControl1.DXF.SelectedEntities, 180, Vector3.Zero, new Vector3(0, 1, 0));
[Visual Basic]
dxfReaderNETControl1.DXF.RotateEntitiesAboutAxis(dxfReaderNETControl1.DXF.SelectedEntities, 180, Vector3.Zero, New Vector3(0, 1, 0))
See Also