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

837dd0f5 24ae 1bc1 165a 8fee36638115

haplokuon edited this page May 6, 2023 · 1 revision

LayerStateManager Class

netDxf 3.0.0 Library

Manages the list of layer states in a drawing.

Definition

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

C#

public class LayerStateManager : TableObjects<LayerState>

VB

Public Class LayerStateManager
	Inherits TableObjects(Of LayerState)

C++

public ref class LayerStateManager : public TableObjects<LayerState^>

F#

type LayerStateManager = 
    class
        inherit TableObjects<LayerState>
    end
Inheritance Object → DxfObjectTableObjects(LayerState) → LayerStateManager

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))
Options Gets or sets the restoring options when updating the layer state from the layers list and vice versa.
Owner Gets the owner of the actual DXF object.
(Inherited from TableObjects(T))
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Add Adds a table object to the list.
(Inherited from TableObjects(T))
AddNew(String) Adds a new LayerState from the current state of the layers.
AddNew(String, String) Adds a new LayerState from the current state of the layers.
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)
Export Exports a layer state to a LAS file.
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))
Import Imports a layer state from a LAS file.
Remove(LayerState) Removes a LayerState.
(Overrides TableObjects(T).Remove(T))
Remove(String) Removes a LayerState.
(Overrides TableObjects(T).Remove(String))
RemoveAll Removes all layers states.
Restore Restores the properties of the current layers list according to the specified layers state.
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))
Update Updates the specified layer state according to the properties of the current layers list.

Events

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

See Also

Reference

netDxf.Collections Namespace

Clone this wiki locally