Click or drag to resize

DisplayModeDescription Methods

The DisplayModeDescription type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddDisplayMode(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.
Public methodStatic memberAddDisplayMode(String)
Adds a new display mode. Note that this only registers the mode in memory; call UpdateDisplayMode to persist it to disk.
Public methodStatic memberCopyDisplayMode
Copies an existing display mode. Note that this only registers the new mode in memory; call UpdateDisplayMode to persist it to disk.
Public methodStatic memberDeleteDiplayMode Obsolete.
Deletes an existing display mode.
Public methodStatic memberDeleteDisplayMode
Deletes an existing display mode.
Public methodDispose
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberExportToFile
Exports a DisplayModeDescription to a Windows-style .ini file.
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodStatic memberFindByName
Finds a display mode description by its English name.
Public methodStatic memberGetDisplayMode
Gets a display mode description by id.
Public methodStatic memberCode exampleGetDisplayModes
Gets all display mode descriptions that Rhino currently knows about.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberImportFromFile(String)
Imports a DisplayModeDescription from a Windows-style .ini file.
Public methodStatic memberImportFromFile(String, Boolean)
Imports a DisplayModeDescription from a Windows-style .ini file.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberCode exampleUpdateDisplayMode
Updates an existing display mode and immediately saves it to disk. Call this after AddDisplayMode/CopyDisplayMode or changing DisplayAttributes to persist the change; otherwise an unrelated settings save elsewhere in Rhino can reload the display mode list from disk and silently discard the unsaved mode.
Top
See Also