IsViewMaximized

Verifies that the specified view is maximized - enlarged so as to fill the entire Rhino window.

Syntax

rhinoscriptsyntax.IsViewMaximized (view=None)

rhinoscript.view.IsViewMaximized (view=None)

Parameters

view

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

Returns

Boolean

True or False indicating success or failure.

Example

import rhinoscriptsyntax as rs

title = rs.CurrentView()

result = rs.IsViewMaximized(title)

if result:

    print "The " + title + " view is maximized."

else:

    print "The " + title + " view is not maximized."

Also See

MaximizeRestoreView