Method LoadPerspective
LoadPerspective(string, bool)
Loads a saved perspective. A perspective is the layout state of an AuiManager managed window.
public bool LoadPerspective(string perspective, bool update = true)
Parameters
perspective
stringSerialized layout information of a perspective (excl. references to UI elements).
update
boolIf update is true, Update() is automatically invoked, thus realizing the specified perspective on screen.
Returns
- bool
true
if perspective was loaded successfully,false
otherwise.
Remarks
All currently existing panes that have an object in "perspective" with the same name ("equivalent") will receive the layout parameters of the object in "perspective". Existing panes that do not have an equivalent in "perspective" remain unchanged, objects in "perspective" having no equivalent in the manager are ignored.