Show / Hide Table of Contents

Class Groups

Represents a collection of groups.

Inheritance
System.Object
DxfObject
TableObjects<Group>
Groups
Implements
System.Collections.Generic.IEnumerable<Group>
System.Collections.IEnumerable
Inherited Members
TableObjects<Group>.list
TableObjects<Group>.references
TableObjects<Group>.Item[String]
TableObjects<Group>.Items
TableObjects<Group>.Names
TableObjects<Group>.Count
TableObjects<Group>.MaxCapacity
TableObjects<Group>.Owner
TableObjects<Group>.GetReferences(String)
TableObjects<Group>.GetReferences(Group)
TableObjects<Group>.Contains(String)
TableObjects<Group>.Contains(Group)
TableObjects<Group>.TryGetValue(String, Group)
TableObjects<Group>.Add(Group)
TableObjects<Group>.Clear()
TableObjects<Group>.GetEnumerator()
TableObjects<Group>.IEnumerable.GetEnumerator()
DxfObject.CodeName
DxfObject.Handle
DxfObject.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: netDxf.Collections
Assembly: CADability.dll
Syntax
public sealed class Groups : TableObjects<Group>, IEnumerable<Group>, IEnumerable

Methods

| Improve this Doc View Source

Remove(Group)

Deletes a group.

Declaration
public override bool Remove(Group item)
Parameters
Type Name Description
Group item

Group to remove from the document.

Returns
Type Description
System.Boolean

True if the group has been successfully removed, or false otherwise.

Overrides
netDxf.Collections.TableObjects<netDxf.Objects.Group>.Remove(netDxf.Objects.Group)
Remarks

Removing a group only deletes it from the collection, the entities that once belonged to the group are not deleted.

| Improve this Doc View Source

Remove(String)

Deletes a group.

Declaration
public override bool Remove(string name)
Parameters
Type Name Description
System.String name

Group name to remove from the document.

Returns
Type Description
System.Boolean

True if the group has been successfully removed, or false otherwise.

Overrides
netDxf.Collections.TableObjects<netDxf.Objects.Group>.Remove(System.String)
Remarks

Removing a group only deletes it from the collection, the entities that once belonged to the group are not deleted.

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX