LayerCollection Class |
Namespace: RootPro.RootProCAD
The LayerCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| LayerCollection | Initializes a new instance of the LayerCollection class |
| Name | Description | |
|---|---|---|
| Count |
Get the number of layers in the collection.
| |
| ItemInt32 |
Get the layer at the specified index in the collection.
| |
| ItemString |
Get the layer with the specified name in the collection.
|
| Name | Description | |
|---|---|---|
| AddLayer |
Add a new layer.
| |
| AddLayerGroup |
Add a new layer group.
| |
| Clear |
Delete all layers in the collection.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Return an enumerator that iterates over the collection.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Return the index in the collection of the specified layer.
| |
| IndexOfID |
Returns the index in the collection of the specified layer ID.
| |
| IndexOfName |
Returns the index in the collection of the specified layer name.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove |
Delete the specified layer.
| |
| RemoveAt |
Delete the layer with the specified index.
| |
| RemoveByID |
Delete the layer with the specified layer ID.
| |
| RemoveByName |
Delete the layer with the specified name.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |