Click or drag to resize

LayerTableUndelete Method

Undeletes a layer that has been deleted by DeleteLayer().

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool Undelete(
	int layerIndex
)

Parameters

layerIndex
Type: SystemInt32
zero based index of layer to undelete. This must be in the range 0 <= layerIndex < LayerTable.Count.

Return Value

Type: Boolean
true if successful.
See Also