Click or drag to resize

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
)

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.0 BETA
See Also