Click or drag to resize

LayerCollection Class

Represents a collection of layers.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADLayerCollection

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 LayerCollection : IList, 
	ICollection, IEnumerable, IEnumerable<Layer>

The LayerCollection type exposes the following members.

Constructors
  NameDescription
Protected methodLayerCollection
Initializes a new instance of the LayerCollection class
Top
Properties
Methods
  NameDescription
Public methodAddLayer
Add a new layer.
Public methodAddLayerGroup
Add a new layer group.
Public methodClear
Delete all layers in the collection.
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 methodGetEnumerator
Return an enumerator that iterates over the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Return the index in the collection of the specified layer.
Public methodIndexOfID
Returns the index in the collection of the specified layer ID.
Public methodIndexOfName
Returns the index in the collection of the specified layer name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Delete the specified layer.
Public methodRemoveAt
Delete the layer with the specified index.
Public methodRemoveByID
Delete the layer with the specified layer ID.
Public methodRemoveByName
Delete the layer with the specified name.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also