Click or drag to resize

Layer Class

Represents a layer.
Inheritance Hierarchy

Namespace:  DXFReaderNET.Tables
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class Layer : TableObject

The Layer type exposes the following members.

Constructors
  NameDescription
Public methodLayer
Initializes a new instance of the Layer class.
Top
Properties
  NameDescription
Public propertyCodeName
Gets the dxf entity type string.
(Inherited from DxfObject.)
Public propertyColor
Gets or sets the layer color.
Public propertyStatic memberDefault
Gets the default Layer 0.
Public propertyHandle
Gets the handle assigned to the dxf object.
(Inherited from DxfObject.)
Public propertyIsFrozen
Gets or sets if the layer is frozen; otherwise layer is thawed.
Public propertyIsLocked
Gets or sets if the layer is locked.
Public propertyIsReserved
Gets if the table object is reserved and cannot be deleted.
(Inherited from TableObject.)
Public propertyIsVisible
Gets or sets the layer visibility.
Public propertyLinetype
Gets or sets the layer line type.
Public propertyLineweight
Gets or sets the layer line weight, one unit is always 1/100 mm (default = Default).
Public propertyName
Gets the name of the table object.
(Inherited from TableObject.)
Public propertyOwner
Gets the owner of the actual dxf object.
Public propertyPlot
Gets or sets if the plotting flag.
Public propertyTransparency
Gets or sets layer transparency (default: 0, opaque).
Top
Methods
  NameDescription
Public methodClone
Creates a new Layer that is a copy of the current instance.
(Overrides TableObjectClone.)
Public methodClone(String)
Creates a new Layer that is a copy of the current instance.
(Overrides TableObjectClone(String).)
Public methodCompareTo(Object)
Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject.)
Public methodCompareTo(TableObject)
Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject.)
Public methodEquals(Object)
Check if two TableObject are equal.
(Inherited from TableObject.)
Public methodEquals(TableObject)
Check if two TableObject are equal.
(Inherited from TableObject.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from TableObject.)
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Inherited from TableObject.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultName
Default layer name.
Top
See Also