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

69366e3c f81e 4944 70ba 3c6a9bf28c72

haplokuon edited this page May 6, 2023 · 1 revision

LayerState Class

netDxf 3.0.0 Library

Represents a layer state.

Definition

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

C#

public class LayerState : TableObject

VB

Public Class LayerState
	Inherits TableObject

C++

public ref class LayerState : public TableObject

F#

type LayerState = 
    class
        inherit TableObject
    end
Inheritance Object → DxfObjectTableObject → LayerState

Constructors

LayerState(String) Initializes a new instance of the LayerState class.
LayerState(String, IEnumerable(Layer)) Initializes a new instance of the LayerState class from a specified list of layers.

Properties

CodeName Gets the DXF object name.
(Inherited from DxfObject)
CurrentLayer Gets or sets the current layer name.
Description Gets or sets the layer state description.
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
IsReserved Gets if the table object is reserved and cannot be deleted.
(Inherited from TableObject)
Name Gets the name of the table object.
(Inherited from TableObject)
Owner Gets the owner of the actual layer state.
PaperSpace Gets or sets if the layer state belongs to a paper space layout.
Properties Gets the list of layer state properties.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone() Creates a new LayerState that is a copy of the current instance.
(Overrides TableObject.Clone())
Clone(String) Creates a new LayerState that is a copy of the current instance.
(Overrides TableObject.Clone(String))
CompareTo(Object) Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject)
CompareTo(TableObject) Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject)
Equals(Object) Check if two TableObject are equal.
(Inherited from TableObject)
Equals(TableObject) Check if two TableObject are equal.
(Inherited from TableObject)
GetHashCode Returns the hash code for this instance.
(Inherited from TableObject)
GetReferences Gets the list of DxfObjects referenced by this instance.
(Overrides TableObject.GetReferences())
GetType Gets the Type of the current instance.
(Inherited from Object)
HasReferences Checks if this instance has been referenced by other DxfObjects.
(Overrides TableObject.HasReferences())
Load Loads a layer state from an LAS file.
Save Saves the current layer state to a LAS file.
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from TableObject)

Events

NameChanged
(Inherited from TableObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Objects Namespace

Clone this wiki locally