ViewDisplayModeName

Returns the name of a display mode given a display mode's identifier.

Syntax

Rhino.ViewDisplayModeName (strMode)

Parameters

strMode

Required.  String.  The identifier of the display mode obtained from the ViewDisplayModes method.

Returns

String

The name of the display mode if successful.

Null

If not successful, or on error.

Example

Dim arrModes, strMode

arrModes = Rhino.ViewDisplayModes(False)

For Each strMode In arrModes

  Rhino.Print strMode & " = " & Rhino.ViewDisplayModeName(strMode)

Next

Also See

ViewDisplayMode

ViewDisplayModeEx

ViewDisplayModes