Layer.PerViewportColor Method

LayerPerViewportColor Method

Gets the display color for this layer.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Color PerViewportColor(
	Guid viewportId
)
Public Function PerViewportColor ( 
	viewportId As Guid
) As Color

Parameters

viewportId
Type: SystemGuid
If not Guid.Empty, then the setting applies only to the viewport with the specified id.

Return Value

Type: Color
The display color.
Version Information

Rhino for Windows

Supported in: 6.8
See Also