RhinoCommon API
LayerPerViewportColor Method |
Gets the display color for this layer.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

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: ColorThe display color.

Rhino for Windows
Supported in: 6.8