Click or drag to resize

LayerTableUndoModify Method (Int32)

Restores the layer to its previous state, if the layer has been modified and the modification can be undone.

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

Parameters

layerIndex
Type: SystemInt32
The layer index to be used.

Return Value

Type: Boolean
true if this layer had been modified and the modifications were undone.
See Also