Layer.SetPerViewportColor Method

LayerSetPerViewportColor Method

Sets the display color for this layer.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetPerViewportColor(
	Guid viewportId,
	Color color
)
Public Sub SetPerViewportColor ( 
	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 display color.
Version Information

Rhino for Windows

Supported in: 6.8
See Also