Click or drag to resize

LayerTable Class

Represents all layers in the document.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADLayerTable

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class LayerTable

The LayerTable type exposes the following members.

Constructors
  NameDescription
Protected methodLayerTable
Initializes a new instance of the LayerTable class
Top
Properties
  NameDescription
Public propertyCurrentLayer
Get the current layer.
Public propertyEmptyLayer
Get the Layer representing the empty layer.
Public propertyRootLayer
Get the root layer.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLayerByFullName
Get the layer with the specified name.
Public methodGetLayerByID
Get the layer with the specified ID.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCurrentLayerChanged
Raise CurrentLayerChanged event.
Protected methodOnLayerAdded
Raise the LayerAdded event.
Protected methodOnLayerChanged
Raise LayerChanged event.
Protected methodOnLayerDeleting
Raise the LayerDeleting event.
Protected methodOnLayerOrderChanged
Raise the LayerOrderChanged event.
Public methodRemove
Delete the specified layer.
Public methodRemoveByID
Delete the layer with the specified layer ID.
Public methodSetOtherHide
Set layers other than the specified layer as hidden layers.
Public methodSetOtherState
Set the state of layers other than the specified layer.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCurrentLayerChanged
Occurs when the current layer is changed.
Public eventLayerAdded
Occurs when a layer is added.
Public eventLayerChanged
Occurs when the layer is changed.
Public eventLayerDeleting
Occurs when a layer is deleted.
Public eventLayerOrderChanged
Occurs when the layer order is changed.
Top
See Also