RestoreNamedView

Restores a named view to the specified view.

Syntax

Rhino.RestoreNamedView (strName [, strView [, blnRestoreBitmap]])

Parameters

strName

Required.  String.  The name of the named view to restore.

strView

Optional.  String.  The title or identifier of the view to restore the view.  If omitted, the current active view is used.

blnRestoreBitmap

Optional.  Boolean.  Restore the named view's background bitmap. If omitted, the named view's background bitmap is not restored (false).

Returns

Parameters

String

The name of the restored named view if successful.

Null

If not successful, or on error.

Example

Dim arrViews

arrViews = Rhino.NamedViews

If IsArray(arrViews) Then

Rhino.RestoreNamedView arrViews(0)

End If

Also See

AddNamedView

DeleteNamedView

NamedViews