NamedLayerStateTable.Restore Method (String, RestoreLayerProperties, Guid)

NamedLayerStateTableRestore Method (String, RestoreLayerProperties, Guid)

Restores a named layer state.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Restore(
	string name,
	RestoreLayerProperties properties,
	Guid viewportId
)
Public Function Restore ( 
	name As String,
	properties As RestoreLayerProperties,
	viewportId As Guid
) As Boolean

Parameters

name
Type: SystemString
The name of the layer state.
properties
Type: Rhino.DocObjects.TablesRestoreLayerProperties
The layer properties to restore.
viewportId
Type: SystemGuid
The id of the layout or detail viewport to restore the per-viewprot layer properties.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Rhino.DocObjects.Tables.NamedLayerStateTable.Restore(System.String,Rhino.DocObjects.Tables.RestoreLayerProperties,System.Guid)"]

Version Information

Rhino for Windows

Supported in: 6.14
See Also