LayerPerViewportColor Method |
Gets the display color for this layer.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntaxpublic 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.
See Also