DisplayModeDescriptionAddDisplayMode Method (DisplayModeDescription) |
Adds a new display mode from an existing description. Note that this only
registers the mode in memory; call UpdateDisplayMode to persist it to disk.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntaxpublic static Guid AddDisplayMode(
DisplayModeDescription displayMode
)
Public Shared Function AddDisplayMode (
displayMode As DisplayModeDescription
) As Guid
Parameters
- displayMode
- Type: Rhino.DisplayDisplayModeDescription
The display mode description to add.
Return Value
Type:
GuidThe id of the new display mode if successful. Guid.Empty on error.
See Also