RhinoCommon API
DisplayModeDescriptionCopyDisplayMode Method |
Copies an existing display mode.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
public static Guid CopyDisplayMode( Guid id, string name )
Public Shared Function CopyDisplayMode ( id As Guid, name As String ) As Guid
Parameters
- id
- Type: SystemGuid
The id of the existing display mode to copy. - name
- Type: SystemString
The name of the new display mode.
Return Value
Type: GuidThe id of the new display mode if successful. Guid.Empty on error.