Layer.SetPerViewportPlotColor Method

LayerSetPerViewportPlotColor Method

Sets the plot color for this layer.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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.
Version Information

Rhino for Windows

Supported in: 6.8
See Also