v4.0
Returns/sets the current active Layout object.
// get accessor Layout rtn = Desktop.ActiveLayout; // set accessor Desktop.ActiveLayout = Layout; |
// Change the active layout var desktop = Application.Desktop; var layout = desktop.Layouts("Compositing"); desktop.ActiveLayout = layout; Application.LogMessage( desktop.ActiveLayout.Name ); // Expected result //INFO : "Compositing" |