RhinoCommon API
LayerSetPerViewportPlotColor Method |
Sets the plot color for this layer.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public void SetPerViewportPlotColor( Guid viewportId, Color color )
Public Sub SetPerViewportPlotColor ( viewportId As Guid, color As Color )
Parameters
- viewportId
- Type: SystemGuid
If not Guid.Empty, then the setting applies only to the viewport with the specified id. - color
- Type: System.DrawingColor
The plot color.

Rhino for Windows
Supported in: 6.8