AspBlock.DetachedWindow
property · AspBlock · cAlgo.API
DesktopCLICloud
Returns detached window properties.
Environment behaviour
CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.
Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.
Definition
DetachedWindow DetachedWindow {get;}
aspBlock.DetachedWindow: DetachedWindow
Returns DetachedWindow
Examples
var block = Asp.SymbolTab.AddBlock("My Block");
block.DetachedWindow.Width = 400;
block.DetachedWindow.Height = 350;
Print("Detached window size: {0}x{1}", block.DetachedWindow.Width, block.DetachedWindow.Height);
block = api.Asp.SymbolTab.AddBlock("My Block")
block.DetachedWindow.Width = 400
block.DetachedWindow.Height = 350
api.Print(f"Detached window size: {block.DetachedWindow.Width}x{block.DetachedWindow.Height}")