Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

cedfd5f5 222a 9d56 3e1a 07ddcb54363d

haplokuon edited this page May 6, 2023 · 1 revision

Layers Class

netDxf 3.0.0 Library

Represents a collection of layers.

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public sealed class Layers : TableObjects<Layer>

VB

Public NotInheritable Class Layers
	Inherits TableObjects(Of Layer)

C++

public ref class Layers sealed : public TableObjects<Layer^>

F#

[<SealedAttribute>]
type Layers = 
    class
        inherit TableObjects<Layer>
    end
Inheritance Object → DxfObjectTableObjects(Layer) → Layers

Properties

CodeName Gets the DXF object name.
(Inherited from DxfObject)
Count Gets the number of table objects.
(Inherited from TableObjects(T))
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
Item Gets a table object from the list by name.
(Inherited from TableObjects(T))
Items Gets the table object list.
(Inherited from TableObjects(T))
Names Gets the ObjectTable names.
(Inherited from TableObjects(T))
Owner Gets the owner of the actual DXF object.
(Inherited from TableObjects(T))
StateManager Gets the layer state manager.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Add Adds a table object to the list.
(Inherited from TableObjects(T))
Clear Removes all table objects that are not reserved and have no references.
(Inherited from TableObjects(T))
Contains(String) Checks if a table object already exists in the list.
(Inherited from TableObjects(T))
Contains(T) Checks if a table object already exists in the list.
(Inherited from TableObjects(T))
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the table object collection.
(Inherited from TableObjects(T))
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetReferences(String) Gets the dxf objects referenced by a T.
(Inherited from TableObjects(T))
GetReferences(T) Gets the dxf objects referenced by a T.
(Inherited from TableObjects(T))
GetType Gets the Type of the current instance.
(Inherited from Object)
HasReferences(String) Checks if the specified TableObject has been referenced by other DxfObjects.
(Inherited from TableObjects(T))
HasReferences(T) Checks if the specified TableObject has been referenced by other DxfObjects.
(Inherited from TableObjects(T))
Remove(Layer) Removes a layer.
(Overrides TableObjects(T).Remove(T))
Remove(String) Removes a layer.
(Overrides TableObjects(T).Remove(String))
ToString Obtains a string that represents the DXF object.
(Inherited from DxfObject)
TryGetValue Gets the table object associated with the specified name.
(Inherited from TableObjects(T))

Events

XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Collections Namespace

Clone this wiki locally